summaryrefslogtreecommitdiff
path: root/src/parse/expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/expr.cpp')
-rw-r--r--src/parse/expr.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parse/expr.cpp b/src/parse/expr.cpp
index 7f600385..8a3490d3 100644
--- a/src/parse/expr.cpp
+++ b/src/parse/expr.cpp
@@ -1407,6 +1407,15 @@ TokenTree Parse_TT_Expr(TokenStream& lex)
return wlex.get_output();
}
+TokenTree Parse_TT_Pattern(TokenStream& lex)
+{
+ TRACE_FUNCTION;
+ TTLexer wlex(lex);
+
+ Parse_Pattern(wlex);
+
+ return wlex.get_output();
+}
TokenTree Parse_TT_Stmt(TokenStream& lex)
{
throw ParseError::Todo("Parse_TT_Stmt");