summaryrefslogtreecommitdiff
path: root/src/parse/paths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/paths.cpp')
-rw-r--r--src/parse/paths.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parse/paths.cpp b/src/parse/paths.cpp
index f867e244..1b48dbb3 100644
--- a/src/parse/paths.cpp
+++ b/src/parse/paths.cpp
@@ -21,6 +21,8 @@ AST::Path Parse_Path(TokenStream& lex, eParsePathGenericMode generic_mode)
{
case TOK_DOUBLE_COLON:
return Parse_Path(lex, true, generic_mode);
+ case TOK_DOUBLE_LT:
+ lex.putback( Token(TOK_LT) );
case TOK_LT: {
TypeRef ty = Parse_Type(lex);
TypeRef trait;