summaryrefslogtreecommitdiff
path: root/src/parse/expr.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-03-15 21:32:48 +0800
committerJohn Hodge <tpg@mutabah.net>2016-03-15 21:32:48 +0800
commit124cf9fc5fb6c0b7f70ef94382efd5190019edac (patch)
tree3e2b3e42e49b51d8ddcb0c52616e201b18b2a23e /src/parse/expr.cpp
parent9a3987bb1575c4ab1eae9c065e907773fa3dcf17 (diff)
downloadmrust-124cf9fc5fb6c0b7f70ef94382efd5190019edac.tar.gz
Expand - More attribute handling
Diffstat (limited to 'src/parse/expr.cpp')
-rw-r--r--src/parse/expr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/expr.cpp b/src/parse/expr.cpp
index ee5698e8..58c82a0b 100644
--- a/src/parse/expr.cpp
+++ b/src/parse/expr.cpp
@@ -340,12 +340,12 @@ ExprNodeP Parse_Expr_Match(TokenStream& lex)
//ASSERT(lex, !CHECK_PARSE_FLAG(lex, disallow_struct_literal) );
GET_CHECK_TOK(tok, lex, TOK_BRACE_OPEN);
- ::std::vector< AST::ExprNode_Match::Arm > arms;
+ ::std::vector< AST::ExprNode_Match_Arm > arms;
do {
if( GET_TOK(tok, lex) == TOK_BRACE_CLOSE )
break;
lex.putback(tok);
- AST::ExprNode_Match::Arm arm;
+ AST::ExprNode_Match_Arm arm;
::AST::MetaItems arm_attrs;
while( LOOK_AHEAD(lex) == TOK_ATTR_OPEN ) {