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"); }
|
<qstr><<EOF>> { yyerror("unterminated quoted string"); }
|
||||||
|
|
||||||
/* SQL blocks: { UPDATE ... } */
|
/* SQL blocks: { UPDATE ... } */
|
||||||
"{" {
|
"{"{space}* {
|
||||||
|
|
||||||
litbufpos = 0;
|
litbufpos = 0;
|
||||||
BEGIN(sql);
|
BEGIN(sql);
|
||||||
}
|
}
|
||||||
<sql>"}" {
|
<sql>{space}*"}" {
|
||||||
litbuf[litbufpos] = '\0';
|
litbuf[litbufpos] = '\0';
|
||||||
yylval.str = strdup(litbuf);
|
yylval.str = strdup(litbuf);
|
||||||
BEGIN(INITIAL);
|
BEGIN(INITIAL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user