From e0ce444a815bde4221469388a63dc02b9929a33a Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 29 Oct 2017 13:04:45 +0800 Subject: macro_rules - Handle :path tokens --- src/macro_rules/eval.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/macro_rules/eval.cpp b/src/macro_rules/eval.cpp index 5b041717..56e4d359 100644 --- a/src/macro_rules/eval.cpp +++ b/src/macro_rules/eval.cpp @@ -951,6 +951,9 @@ namespace TRACE_FUNCTION; switch(lex.next()) { + case TOK_INTERPOLATED_PATH: + lex.consume(); + return true; case TOK_RWORD_SELF: lex.consume(); // Allow a lone `self` (it's referring to the current object) -- cgit v1.2.3