diff options
Diffstat (limited to 'src/parse/pattern.cpp')
-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 bb697618..085df108 100644 --- a/src/parse/pattern.cpp +++ b/src/parse/pattern.cpp @@ -259,9 +259,11 @@ AST::Pattern Parse_PatternReal_Slice(TokenStream& lex, bool is_refutable) ::std::string binding_name; if( tok.type() == TOK_RWORD_REF && lex.lookahead(0) == TOK_IDENT && lex.lookahead(1) == TOK_DOUBLE_DOT ) { GET_TOK(tok, lex); + // TODO: Bind type binding_name = tok.str(); } else if( tok.type() == TOK_IDENT && lex.lookahead(0) == TOK_DOUBLE_DOT) { + // TODO: Bind type binding_name = tok.str(); } else if( tok.type() == TOK_UNDERSCORE && lex.lookahead(0) == TOK_DOUBLE_DOT) { |