summaryrefslogtreecommitdiff
path: root/src/macro_rules/eval.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2017-09-23 14:51:48 +0800
committerJohn Hodge <tpg@mutabah.net>2017-09-23 14:51:48 +0800
commit60ad3249e0f48379ecf916631b42286b89174c4d (patch)
tree4744210ba4114c11a532dea4e1441dfca285efd9 /src/macro_rules/eval.cpp
parent4d99850792a83b0416459ed930403304f450f8f6 (diff)
downloadmrust-60ad3249e0f48379ecf916631b42286b89174c4d.tar.gz
Expand - Little fixes for libpanic_unwind win32
Diffstat (limited to 'src/macro_rules/eval.cpp')
-rw-r--r--src/macro_rules/eval.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macro_rules/eval.cpp b/src/macro_rules/eval.cpp
index 61a190ab..8f7072e5 100644
--- a/src/macro_rules/eval.cpp
+++ b/src/macro_rules/eval.cpp
@@ -1026,6 +1026,9 @@ namespace
TRACE_FUNCTION;
switch(lex.next())
{
+ case TOK_UNDERSCORE:
+ lex.consume();
+ return true;
case TOK_INTERPOLATED_TYPE:
lex.consume();
return true;