summaryrefslogtreecommitdiff
path: root/src/macro_rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/macro_rules')
-rw-r--r--src/macro_rules/eval.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/macro_rules/eval.cpp b/src/macro_rules/eval.cpp
index 3315b24c..e864537c 100644
--- a/src/macro_rules/eval.cpp
+++ b/src/macro_rules/eval.cpp
@@ -1073,9 +1073,11 @@ namespace
case TOK_PAREN_OPEN:
case TOK_SQUARE_OPEN:
return consume_tt(lex);
+ case TOK_IDENT:
+ if( TARGETVER_1_29 && lex.next_tok().str() == "dyn" )
+ lex.consume();
case TOK_RWORD_SUPER:
case TOK_RWORD_SELF:
- case TOK_IDENT:
case TOK_DOUBLE_COLON:
case TOK_INTERPOLATED_IDENT:
case TOK_INTERPOLATED_PATH: