diff options
Diffstat (limited to 'src/parse/root.cpp')
-rw-r--r-- | src/parse/root.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parse/root.cpp b/src/parse/root.cpp index e89f7025..e61c2b21 100644 --- a/src/parse/root.cpp +++ b/src/parse/root.cpp @@ -655,6 +655,11 @@ AST::Trait Parse_TraitDef(TokenStream& lex, const AST::MetaItems& meta_items) } else { PUTBACK(tok, lex); + if( LOOK_AHEAD(lex) == TOK_RWORD_FOR ) + { + GET_TOK(tok, lex); + /*::std::vector< ::std::string> lifetimes =*/ Parse_HRB(lex); + } supertraits.push_back( GET_SPANNED(::AST::Path, lex, Parse_Path(lex, PATH_GENERIC_TYPE)) ); } } while( GET_TOK(tok, lex) == TOK_PLUS ); |