summaryrefslogtreecommitdiff
path: root/src/macro_rules
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-27 20:39:54 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-27 20:39:54 +0800
commitbfa00193bf454668730d98c5d9ff12c016c32153 (patch)
tree25f1a48d0a7e7ace52541bd487ebe16480f14b1c /src/macro_rules
parentc59145f1f8e9d627daeb16bbb48782716dba870f (diff)
downloadmrust-bfa00193bf454668730d98c5d9ff12c016c32153.tar.gz
macro_rules - Allow bytestrings to start :expr
Diffstat (limited to 'src/macro_rules')
-rw-r--r--src/macro_rules/mod.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macro_rules/mod.cpp b/src/macro_rules/mod.cpp
index 25883c36..8b2be7d1 100644
--- a/src/macro_rules/mod.cpp
+++ b/src/macro_rules/mod.cpp
@@ -101,6 +101,7 @@ bool is_token_expr(eTokenType tt) {
case TOK_INTEGER:
case TOK_FLOAT:
case TOK_STRING:
+ case TOK_BYTESTRING:
case TOK_RWORD_TRUE:
case TOK_RWORD_FALSE: