diff --git a/src/parser/parser.l b/src/parser/parser.l index 70b8c6f..4ea9843 100644 --- a/src/parser/parser.l +++ b/src/parser/parser.l @@ -148,6 +148,8 @@ L?\" { { \" { BEGIN(INITIAL); + (*yylval)->token.text = build_string; + build_string = nullptr; return STRING_LITERAL; } \\x[0-9A-Fa-f]{2} {