aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.cpp
diff options
context:
space:
mode:
authorjon lipstate <52809771+jon-lipstate@users.noreply.github.com>2023-05-30 08:23:28 -0700
committerGitHub <noreply@github.com>2023-05-30 08:23:28 -0700
commitb223bc0302b54bb0629bd94d0b16e0f0720b6682 (patch)
treeeaa5de636a3fd8f5b008270fbaff268f40769f8c /src/tokenizer.cpp
parentf5dcbf517b88d7479fa12d5f3b59183a447cae6f (diff)
parent3562a38f8cdd43792b6cdfd3327d16b65d25e5d0 (diff)
Merge branch 'odin-lang:master' into attr_error
Diffstat (limited to 'src/tokenizer.cpp')
-rw-r--r--src/tokenizer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tokenizer.cpp b/src/tokenizer.cpp
index 547a864fb..17a396b9f 100644
--- a/src/tokenizer.cpp
+++ b/src/tokenizer.cpp
@@ -54,7 +54,7 @@ TOKEN_KIND(Token__AssignOpEnd, ""), \
TOKEN_KIND(Token_Increment, "++"), \
TOKEN_KIND(Token_Decrement, "--"), \
TOKEN_KIND(Token_ArrowRight,"->"), \
- TOKEN_KIND(Token_Undef, "---"), \
+ TOKEN_KIND(Token_Uninit, "---"), \
\
TOKEN_KIND(Token__ComparisonBegin, ""), \
TOKEN_KIND(Token_CmpEq, "=="), \
@@ -917,7 +917,7 @@ gb_internal void tokenizer_get_token(Tokenizer *t, Token *token, int repeat=0) {
token->kind = Token_Decrement;
if (t->curr_rune == '-') {
advance_to_next_rune(t);
- token->kind = Token_Undef;
+ token->kind = Token_Uninit;
}
break;
case '>':
@@ -1078,7 +1078,7 @@ semicolon_check:;
case Token_Imag:
case Token_Rune:
case Token_String:
- case Token_Undef:
+ case Token_Uninit:
/*fallthrough*/
case Token_Question:
case Token_Pointer: