mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Merge pull request #365 from dbrotz/terminate-bracketed-symbol
Terminate standalone bracketed symbol strings
This commit is contained in:
@@ -778,7 +778,9 @@ scanagain:
|
||||
return T_STRING;
|
||||
} else if (*pLexBuffer == '{') {
|
||||
pLexBuffer++;
|
||||
yylex_ReadBracketedSymbol(yylval.tzString, 0);
|
||||
size_t len = yylex_ReadBracketedSymbol(yylval.tzString,
|
||||
0);
|
||||
yylval.tzString[len] = 0;
|
||||
return T_STRING;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user