summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-14 18:41:50 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-14 18:41:50 +0800
commit0b7fec11f46ee3fcbe3726855c89029ebff884cf (patch)
treeaa1c061aecac5568e2ec97f309db4430b1ee2a91 /src/parse
parent4e8936fa55e0b68424fa1a7c51c0d4c78763c8a6 (diff)
downloadmrust-0b7fec11f46ee3fcbe3726855c89029ebff884cf.tar.gz
macro_rules! - Allow reserved words to match :ident
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/eTokenType.enum.h1
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)