Commit 62fd1afc authored by Heikki Linnakangas's avatar Heikki Linnakangas

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.
parent 0f7acbed
...@@ -64,12 +64,12 @@ teardown { return(TEARDOWN); } ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment