Skip to content

Commit

Permalink
fix: Set the template type parameter name in the AST
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoraggi committed Sep 14, 2023
1 parent a641ce4 commit 3653720
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/cxx/parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7933,6 +7933,7 @@ auto Parser::parse_template_type_parameter(DeclarationAST*& yyast) -> bool {
ast->classKeyLoc = classsKeyLoc;

match(TokenKind::T_IDENTIFIER, ast->identifierLoc);
ast->identifier = unit->identifier(ast->identifierLoc);

return true;
}
Expand Down

0 comments on commit 3653720

Please sign in to comment.