summaryrefslogtreecommitdiff
path: root/src/macro_rules/pattern_checks.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-25 18:00:47 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-25 18:00:47 +0800
commit07849e03b7d32ff28402ddd485326e00dbe2fedd (patch)
tree000e521dfebd5c860d8bd2ed1d4cde78415847f7 /src/macro_rules/pattern_checks.hpp
parenta2fc0567c434af1d5888db4f5c82df7f1e6b970f (diff)
downloadmrust-07849e03b7d32ff28402ddd485326e00dbe2fedd.tar.gz
macro_rules! - Rough (stubbed) support for :item
Diffstat (limited to 'src/macro_rules/pattern_checks.hpp')
-rw-r--r--src/macro_rules/pattern_checks.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macro_rules/pattern_checks.hpp b/src/macro_rules/pattern_checks.hpp
index 820a9ef4..138f11a3 100644
--- a/src/macro_rules/pattern_checks.hpp
+++ b/src/macro_rules/pattern_checks.hpp
@@ -7,4 +7,4 @@ extern bool is_token_pat(eTokenType tt);
extern bool is_token_type(eTokenType tt);
extern bool is_token_expr(eTokenType tt);
extern bool is_token_stmt(eTokenType tt);
-
+extern bool is_token_item(eTokenType tt);