commit | 2ccc40d096ef18ca595f95c6c52532400be34807 | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Fri Jun 12 11:53:07 2009 -0700 |
committer | Jack Palevich <jackpal@google.com> | Fri Jun 12 11:53:07 2009 -0700 |
tree | 67fbbb08160d7188808a01a42ad4b8227e440592 | |
parent | a6baa23f0831f98e84ee4afbfb6cdb3ac5c1f5ea [diff] |
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() {