diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-12-18 21:50:14 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-12-18 21:50:14 +0000 |
| commit | e370337f97f80b99ff01031b7006e06d6433d475 (patch) | |
| tree | b6bbf7c6165fb8776813b94729ce9b412c7e32ba /src/tokenizer.c | |
| parent | 5217eb55b4d0b53828d9ba4599a249216c813d42 (diff) | |
var/const decl; remove `:` from parameter lists
Diffstat (limited to 'src/tokenizer.c')
| -rw-r--r-- | src/tokenizer.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tokenizer.c b/src/tokenizer.c index 75700b034..3e1015038 100644 --- a/src/tokenizer.c +++ b/src/tokenizer.c @@ -74,7 +74,6 @@ TOKEN_KIND(Token__ComparisonEnd, "_ComparisonEnd"), \ TOKEN_KIND(Token_OpenBrace, "{"), \ TOKEN_KIND(Token_CloseBrace, "}"), \ TOKEN_KIND(Token_Colon, ":"), \ - TOKEN_KIND(Token_ColonColon, "::"), \ TOKEN_KIND(Token_Semicolon, ";"), \ TOKEN_KIND(Token_Period, "."), \ TOKEN_KIND(Token_Comma, ","), \ @@ -835,10 +834,6 @@ Token tokenizer_get_token(Tokenizer *t) { break; case ':': token.kind = Token_Colon; - if (t->curr_rune == ':') { - advance_to_next_rune(t); - token.kind = Token_ColonColon; - } break; case '(': token.kind = Token_OpenParen; |