multiple labels per line
This commit is contained in:
+3
-1
@@ -44,8 +44,9 @@ declarations
|
|||||||
: declaration (';' declaration)*
|
: declaration (';' declaration)*
|
||||||
;
|
;
|
||||||
|
|
||||||
|
// multiple labels can occur on the same line
|
||||||
declaration
|
declaration
|
||||||
: label? (instruction | assignment | expression)?
|
: label* (instruction | assignment | expression)?
|
||||||
;
|
;
|
||||||
|
|
||||||
instruction
|
instruction
|
||||||
@@ -200,6 +201,7 @@ opcode
|
|||||||
| 'crrb'
|
| 'crrb'
|
||||||
| 'sys'
|
| 'sys'
|
||||||
| 'czm'
|
| 'czm'
|
||||||
|
| 'irss'
|
||||||
;
|
;
|
||||||
|
|
||||||
LOC
|
LOC
|
||||||
|
|||||||
Reference in New Issue
Block a user