Fix setvar parsing of quoted data

This commit is contained in:
Victor Hora
2018-04-30 19:45:11 -04:00
committed by Felipe Zimmerle
parent e47125c55e
commit 5e40850697
4 changed files with 927 additions and 977 deletions

View File

@@ -471,8 +471,8 @@ static const flex_int16_t yy_accept[3946] =
510, 502, 526, 283, 284, 526, 493, 493, 492, 495,
493, 491, 491, 490, 495, 491, 150, 520, 521, 522,
137, 136, 137, 137, 137, 137, 137, 137, 141, 140,
145, 146, 146, 145, 143, 142, 140, 147, 149, 149,
147, 147, 513, 264, 0, 267, 267, 267, 0, 0,
145, 146, 146, 145, 143, 142, 140, 148, 149, 149,
147, 148, 513, 264, 0, 267, 267, 267, 0, 0,
0, 0, 0, 0, 0, 0, 216, 0, 0, 0,
0, 0, 514, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 410, 0, 0, 0,
@@ -501,8 +501,8 @@ static const flex_int16_t yy_accept[3946] =
493, 0, 494, 493, 491, 0, 0, 491, 0, 491,
520, 521, 522, 0, 0, 0, 0, 0, 0, 138,
139, 145, 0, 0, 145, 0, 145, 144, 147, 0,
0, 147, 0, 147, 267, 0, 0, 0, 0, 0,
139, 145, 0, 0, 145, 0, 145, 144, 148, 0,
0, 148, 0, 148, 267, 0, 0, 0, 0, 0,
0, 0, 215, 0, 0, 0, 0, 0, 0, 0,
514, 515, 0, 0, 0, 393, 0, 0, 383, 0,
0, 0, 418, 0, 0, 0, 0, 0, 0, 0,
@@ -526,7 +526,7 @@ static const flex_int16_t yy_accept[3946] =
0, 0, 0, 0, 108, 109, 508, 511, 503, 0,
0, 508, 505, 509, 0, 285, 0, 0, 493, 0,
0, 0, 491, 0, 0, 0, 0, 0, 0, 0,
145, 0, 0, 0, 147, 0, 0, 267, 0, 0,
145, 0, 0, 0, 148, 0, 0, 267, 0, 0,
0, 0, 0, 169, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 222, 515, 359, 0, 0, 394,
@@ -551,7 +551,7 @@ static const flex_int16_t yy_accept[3946] =
0, 0, 0, 0, 0, 0, 65, 0, 0, 109,
508, 507, 0, 504, 0, 505, 509, 285, 0, 286,
493, 0, 491, 0, 0, 0, 0, 0, 145, 0,
147, 0, 267, 267, 212, 0, 0, 214, 0, 0,
148, 0, 267, 267, 212, 0, 0, 214, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -6698,15 +6698,15 @@ YY_RULE_SETUP
case 147:
/* rule 147 can match eol */
YY_RULE_SETUP
#line 722 "seclang-scanner.ll"
{ return p::make_FREE_TEXT_QUOTE_MACRO_EXPANSION(yytext, *driver.loc.back()); }
{ BEGIN(EXPECTING_ACTIONS_ENDS_WITH_DOUBLE_QUOTE); }
YY_BREAK
case 148:
/* rule 148 can match eol */
YY_RULE_SETUP
#line 723 "seclang-scanner.ll"
{ BEGIN(EXPECTING_ACTIONS_ENDS_WITH_DOUBLE_QUOTE); }
{ return p::make_FREE_TEXT_QUOTE_MACRO_EXPANSION(yytext, *driver.loc.back()); }
YY_BREAK
case 149:
/* rule 149 can match eol */