Add a noop if no whitespace is emitted to have something to jump to

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-03-09 13:33:52 +01:00
parent 59f92e31fe
commit e0e84ede1c
6 changed files with 16 additions and 11 deletions

View file

@ -26,7 +26,7 @@ input_file: tests/cases/if_else_if.nomo
content: "\n" (37..38),
},
Jump {
jump: 8,
jump: 9,
},
AppendContent {
content: "\n " (13..18),
@ -53,9 +53,10 @@ input_file: tests/cases/if_else_if.nomo
content: "\n" (81..82),
},
Jump {
jump: 1,
jump: 2,
},
AppendContent {
content: "\n " (64..69),
},
NoOp,
]