diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-20 14:05:17 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-20 14:05:35 +0100 |
| commit | dd331f007cb9c9968605f8d3eaef8fb498c21322 (patch) | |
| tree | f1b1490758ec53fd204724a325158d16c980d131 /tests/typ/compiler/if.typ | |
| parent | 40561e57fbbc68becac07acd54a34f94f591f277 (diff) | |
Rewrite parser
Diffstat (limited to 'tests/typ/compiler/if.typ')
| -rw-r--r-- | tests/typ/compiler/if.typ | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/compiler/if.typ b/tests/typ/compiler/if.typ index 0d87c689..3b35ebd8 100644 --- a/tests/typ/compiler/if.typ +++ b/tests/typ/compiler/if.typ @@ -112,7 +112,7 @@ // Error: 4 expected expression {if} -// Error: 6 expected body +// Error: 6 expected block #if x // Error: 1-6 unexpected keyword `else` @@ -124,11 +124,11 @@ x {} // Should output `something`. -// Error: 6 expected body +// Error: 6 expected block #if x something // Should output `A thing.` -// Error: 19 expected body +// Error: 19 expected block A#if false {} else thing #if a []else [b] |
