File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3193,7 +3193,7 @@ YY_RULE_SETUP
31933193case 154 :
31943194YY_RULE_SETUP
31953195#line 249 "flex_lexer.l"
3196- { BEGIN singlequotedstring; strbuf = std::stringstream{} ; }
3196+ { BEGIN singlequotedstring; strbuf. clear (); strbuf. str ( " " ) ; } // Clear strbuf manually, see #170
31973197 YY_BREAK
31983198case 155 :
31993199YY_RULE_SETUP
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ COMMIT TOKEN(COMMIT)
246246 return SQL_IDENTIFIER;
247247}
248248
249- \' { BEGIN singlequotedstring; strbuf = std::stringstream{} ; }
249+ \' { BEGIN singlequotedstring; strbuf. clear (); strbuf. str ( " " ) ; } // Clear strbuf manually, see #170
250250<singlequotedstring >\'\' { strbuf << ' \' ' ; }
251251<singlequotedstring >[^ ' ]* { strbuf << yytext; }
252252<singlequotedstring >\' { BEGIN 0 ; yylval->sval = strdup (strbuf.str ().c_str ()); return SQL_STRING; }
You can’t perform that action at this time.
0 commit comments