cache: Allow scripts to start with comments
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
grammar rs2asm;
|
grammar rs2asm;
|
||||||
|
|
||||||
prog: (header NEWLINE+)* (line NEWLINE+)+ ;
|
prog: NEWLINE* (header NEWLINE+)* (line NEWLINE+)+ ;
|
||||||
|
|
||||||
header: id | int_stack_count | string_stack_count | int_var_count | string_var_count ;
|
header: id | int_stack_count | string_stack_count | int_var_count | string_var_count ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user