diff options
| author | gingerBill <bill@gingerbill.org> | 2021-09-06 20:15:59 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-09-06 20:15:59 +0100 |
| commit | 0434281f734db10ff17b68395e593d4a07b03d8d (patch) | |
| tree | e4f4ceaa09f7114121ef67215780206959245c65 /src/tokenizer.cpp | |
| parent | 3bf005bfc553ba59d1869c8eab66123748af0b00 (diff) | |
Strip semicolons; Make `odin strip-semicolon` replace `..` with `..=` if used as a binary operator
Diffstat (limited to 'src/tokenizer.cpp')
| -rw-r--r-- | src/tokenizer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tokenizer.cpp b/src/tokenizer.cpp index 3a3c40a7d..237179ca5 100644 --- a/src/tokenizer.cpp +++ b/src/tokenizer.cpp @@ -236,7 +236,8 @@ TokenPos token_pos_add_column(TokenPos pos) { } enum TokenFlag : u8 { - TokenFlag_Remove = 1<<1, + TokenFlag_Remove = 1<<1, + TokenFlag_Replace = 1<<2, }; struct Token { |