diff --git a/cache/src/main/antlr4/net/runelite/cache/script/assembler/rs2asm.g4 b/cache/src/main/antlr4/net/runelite/cache/script/assembler/rs2asm.g4 index 4fdbb4e199..1c22be6713 100644 --- a/cache/src/main/antlr4/net/runelite/cache/script/assembler/rs2asm.g4 +++ b/cache/src/main/antlr4/net/runelite/cache/script/assembler/rs2asm.g4 @@ -24,7 +24,7 @@ */ 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 ;