Add test for labels when expecting symbols

This commit is contained in:
Rangi42
2025-07-14 00:10:14 -04:00
parent 80df858ee3
commit 35335aadbe
3 changed files with 23 additions and 1 deletions

View File

@@ -1976,7 +1976,7 @@ static Token yylex_NORMAL() {
}
}
// We need it to distinguish between label definitions (which start with `LABEL`) and
// We need to distinguish between label definitions (which start with `LABEL`) and
// macro invocations (which start with `SYMBOL`).
//
// If we had one `IDENTIFIER` token, the parser would need to perform "lookahead" to