aboutsummaryrefslogtreecommitdiff
path: root/src/c_tokenizer.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-11-28 02:37:00 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-11-28 02:58:51 -0500
commite745544dacc5bda010fc65e5c8b81cb3b5249223 (patch)
tree9e0a7501730d34fd8fe0dafdadb172733008e162 /src/c_tokenizer.cpp
parentf537c51f2560564042da690e8fe3b6e85d9592c8 (diff)
downloadzig-e745544dacc5bda010fc65e5c8b81cb3b5249223.tar.gz
zig-e745544dacc5bda010fc65e5c8b81cb3b5249223.zip
translate-c: detect macros referencing field lookup
as fn calls which assert the fn ptr is non-null
Diffstat (limited to 'src/c_tokenizer.cpp')
-rw-r--r--src/c_tokenizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c_tokenizer.cpp b/src/c_tokenizer.cpp
index e5322e2b0f..6be2cf991e 100644
--- a/src/c_tokenizer.cpp
+++ b/src/c_tokenizer.cpp
@@ -120,6 +120,7 @@ static void begin_token(CTokenize *ctok, CTokId id) {
case CTokIdLParen:
case CTokIdRParen:
case CTokIdEOF:
+ case CTokIdDot:
break;
}
}