set token text to string literal value for string literal tokens
This commit is contained in:
parent
051dd9b9c1
commit
584fdae2ba
@ -148,6 +148,8 @@ L?\" {
|
||||
<str>{
|
||||
\" {
|
||||
BEGIN(INITIAL);
|
||||
(*yylval)->token.text = build_string;
|
||||
build_string = nullptr;
|
||||
return STRING_LITERAL;
|
||||
}
|
||||
\\x[0-9A-Fa-f]{2} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user