aboutsummaryrefslogtreecommitdiff
path: root/src/parseh.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-04-22 15:24:18 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-04-22 15:24:18 -0700
commit8187396f640d2a56e0d56c7d199074b4590e49eb (patch)
tree5dbbeeba42680a30c43ccd1d1be3be89925d73d3 /src/parseh.cpp
parent35362f8137b2c5109e6bc39cb12048c016b5b580 (diff)
downloadzig-8187396f640d2a56e0d56c7d199074b4590e49eb.tar.gz
zig-8187396f640d2a56e0d56c7d199074b4590e49eb.zip
add syntax to allow symbols to have arbitrary strings as names
Diffstat (limited to 'src/parseh.cpp')
-rw-r--r--src/parseh.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/parseh.cpp b/src/parseh.cpp
index 9806f3cfb3..4ae426f1c7 100644
--- a/src/parseh.cpp
+++ b/src/parseh.cpp
@@ -11,7 +11,6 @@
#include "error.hpp"
#include "parser.hpp"
#include "all_types.hpp"
-#include "tokenizer.hpp"
#include "c_tokenizer.hpp"
#include "analyze.hpp"
@@ -1265,10 +1264,6 @@ static void render_macros(Context *c) {
}
static void process_macro(Context *c, CTokenize *ctok, Buf *name, const char *char_ptr) {
- if (is_zig_keyword(name)) {
- return;
- }
-
tokenize_c_macro(ctok, (const uint8_t *)char_ptr);
if (ctok->error) {