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:
Heikki Linnakangas 2011-08-18 12:16:10 +03:00
parent 0f7acbeddf
commit 62fd1afc55
15 changed files with 3059 additions and 3059 deletions

View File

@ -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);