aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-01-02 00:26:28 +0000
committerGinger Bill <bill@gingerbill.org>2017-01-02 00:26:28 +0000
commitce89a1428e40aeac13a9d82211fac463f8171717 (patch)
tree595bf72b309a8947bd108bd8bfe8f8105f6bad60 /src/tokenizer.c
parent9202bd1b0640737ce9d843f8d308debe45fc9a90 (diff)
Fix parameter/field lists and #import #include syntax
Diffstat (limited to 'src/tokenizer.c')
-rw-r--r--src/tokenizer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tokenizer.c b/src/tokenizer.c
index 7138dc6ae..2625dbf42 100644
--- a/src/tokenizer.c
+++ b/src/tokenizer.c
@@ -86,8 +86,8 @@ TOKEN_KIND(Token__KeywordBegin, "_KeywordBegin"), \
TOKEN_KIND(Token_proc, "proc"), \
/* TOKEN_KIND(Token_var, "var"), */\
/* TOKEN_KIND(Token_const, "const"), */\
- TOKEN_KIND(Token_import, "import"), \
- TOKEN_KIND(Token_include, "include"), \
+ /* TOKEN_KIND(Token_import, "import"), */\
+ /* TOKEN_KIND(Token_include, "include"), */\
TOKEN_KIND(Token_macro, "macro"), \
TOKEN_KIND(Token_match, "match"), \
TOKEN_KIND(Token_break, "break"), \
@@ -824,7 +824,6 @@ Token tokenizer_get_token(Tokenizer *t) {
break;
case ';':
token.kind = Token_Semicolon;
- token.string = str_lit(";");
break;
case ',':
token.kind = Token_Comma;