Merge change 4072
* changes: Make #define work again. (Had accidentally omitted the keyword.)
This commit is contained in:
commit
7829ec0b77
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue