diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-14 18:41:50 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-14 18:41:50 +0800 |
commit | 0b7fec11f46ee3fcbe3726855c89029ebff884cf (patch) | |
tree | aa1c061aecac5568e2ec97f309db4430b1ee2a91 /src/parse | |
parent | 4e8936fa55e0b68424fa1a7c51c0d4c78763c8a6 (diff) | |
download | mrust-0b7fec11f46ee3fcbe3726855c89029ebff884cf.tar.gz |
macro_rules! - Allow reserved words to match :ident
Diffstat (limited to 'src/parse')
-rw-r--r-- | src/parse/eTokenType.enum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/eTokenType.enum.h b/src/parse/eTokenType.enum.h index 21bbb1d5..9caa3aba 100644 --- a/src/parse/eTokenType.enum.h +++ b/src/parse/eTokenType.enum.h @@ -85,6 +85,7 @@ _(TOK_CARET_EQUAL) _(TOK_BACKTICK) // Reserved Words +// NOTE: ORDERING MATTERS! _PUB must be the first, and no non-rword tokens should follow _(TOK_RWORD_PUB) _(TOK_RWORD_PRIV) _(TOK_RWORD_MUT) |