Parser refers to "symbol"s, "label"s, and "local label"s, not "identifier"s (#1652)

This better matches how the lexed tokens are discussed in rgbasm(5)
This commit is contained in:
Rangi
2025-02-06 18:01:33 +01:00
committed by GitHub
parent d9d381cb62
commit 4c916b8da8
8 changed files with 74 additions and 94 deletions

View File

@@ -1,7 +1,7 @@
error: def-scoped.asm(10):
syntax error, unexpected local identifier, expecting identifier
syntax error, unexpected local label, expecting symbol
error: def-scoped.asm(13):
syntax error, unexpected local identifier, expecting identifier
syntax error, unexpected local label, expecting symbol
error: def-scoped.asm(16):
syntax error, unexpected local identifier, expecting identifier
syntax error, unexpected local label, expecting symbol
error: Assembly aborted (3 errors)!