diff options
| author | gingerBill <bill@gingerbill.org> | 2023-09-30 15:04:17 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-09-30 15:04:17 +0100 |
| commit | 648b83d6ead67a291dc023f93a7262622991be2a (patch) | |
| tree | 722495f871bb992e44e321d894879337dd03c20c /src/tokenizer.cpp | |
| parent | 4e97b833126d9773ec23a0a0652beb19aab4aea4 (diff) | |
Add `or_break` and `or_continue` constructs
Diffstat (limited to 'src/tokenizer.cpp')
| -rw-r--r-- | src/tokenizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tokenizer.cpp b/src/tokenizer.cpp index ad7aa81de..dd9908be5 100644 --- a/src/tokenizer.cpp +++ b/src/tokenizer.cpp @@ -116,6 +116,8 @@ TOKEN_KIND(Token__KeywordBegin, ""), \ TOKEN_KIND(Token_context, "context"), \ TOKEN_KIND(Token_or_else, "or_else"), \ TOKEN_KIND(Token_or_return, "or_return"), \ + TOKEN_KIND(Token_or_break, "or_break"), \ + TOKEN_KIND(Token_or_continue, "or_continue"), \ TOKEN_KIND(Token_asm, "asm"), \ TOKEN_KIND(Token_matrix, "matrix"), \ TOKEN_KIND(Token__KeywordEnd, ""), \ @@ -1072,6 +1074,8 @@ semicolon_check:; case Token_fallthrough: case Token_return: case Token_or_return: + case Token_or_break: + case Token_or_continue: /*fallthrough*/ case Token_Integer: case Token_Float: |