diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-18 09:25:36 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-18 22:54:00 +0200 |
| commit | 7440060f179e35fe63155a149bb5003c97e12013 (patch) | |
| tree | abdcb8aa74513312b2cc92d4c2b2b986c29fbc03 /source/main.elna | |
| parent | 81043b67437445dcf83055098490e04cc88ff7ee (diff) | |
| download | elna-7440060f179e35fe63155a149bb5003c97e12013.tar.gz | |
Fix ICE on variable declarations in case branches
Diffstat (limited to 'source/main.elna')
| -rw-r--r-- | source/main.elna | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/main.elna b/source/main.elna index ee4079e..fb58766 100644 --- a/source/main.elna +++ b/source/main.elna @@ -23,6 +23,8 @@ begin printf("Token: %.*s, length: %lu, final state: %i, position: %lu, kind: %i\n\0".ptr, global_cursor.cursor - global_cursor.start, global_cursor.start, global_cursor.cursor - global_cursor.start, global_cursor.state, - global_cursor.position, token^.kind) + global_cursor.position, token^.kind); + + elna_lexer_token_destroy(token) until global_cursor.state = ElnaLexerState.eof end. |
