mirror of https://github.com/postgres/postgres
Strip whitespace from SQL blocks in the isolation test suite. This is purely
cosmetic, it removes a lot of IMHO ugly whitespace from the expected output.
This commit is contained in:
parent
0f7acbeddf
commit
62fd1afc55
|
@ -64,12 +64,12 @@ teardown { return(TEARDOWN); }
|
|||
<qstr><<EOF>> { yyerror("unterminated quoted string"); }
|
||||
|
||||
/* SQL blocks: { UPDATE ... } */
|
||||
"{" {
|
||||
"{"{space}* {
|
||||
|
||||
litbufpos = 0;
|
||||
BEGIN(sql);
|
||||
}
|
||||
<sql>"}" {
|
||||
<sql>{space}*"}" {
|
||||
litbuf[litbufpos] = '\0';
|
||||
yylval.str = strdup(litbuf);
|
||||
BEGIN(INITIAL);
|
||||
|
|
Loading…
Reference in New Issue