Merge change 4072
* changes:
Make #define work again. (Had accidentally omitted the keyword.)
diff --git a/libacc/acc.cpp b/libacc/acc.cpp
index 4af7f25..7903c6e 100644
--- a/libacc/acc.cpp
+++ b/libacc/acc.cpp
@@ -1498,7 +1498,10 @@
put("break", TOK_BREAK);
put("return", TOK_RETURN);
put("for", TOK_FOR);
+ // TODO: remove these preprocessor-specific keywords. You should
+ // be able to have symbols named pragma or define.
put("pragma", TOK_PRAGMA);
+ put("define", TOK_DEFINE);
}
~KeywordTable() {