diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/parse/pattern.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parse/pattern.cpp b/src/parse/pattern.cpp index 2b83d0f3..30d98fb6 100644 --- a/src/parse/pattern.cpp +++ b/src/parse/pattern.cpp @@ -195,6 +195,8 @@ AST::Pattern Parse_PatternReal1(TokenStream& lex, bool is_refutable) case TOK_RWORD_SELF: case TOK_RWORD_SUPER: case TOK_IDENT: + case TOK_LT: + case TOK_DOUBLE_LT: PUTBACK(tok, lex); return Parse_PatternReal_Path( lex, Parse_Path(lex, PATH_GENERIC_EXPR), is_refutable ); case TOK_DOUBLE_COLON: |