Make #define work again. (Had accidentally omitted the keyword.)

This commit is contained in:
Jack Palevich 2009-06-12 11:53:07 -07:00
parent a6baa23f08
commit 2ccc40d096
1 changed files with 3 additions and 0 deletions

View File

@ -1498,7 +1498,10 @@ class Compiler : public ErrorSink {
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() {