Commit 3dbb1a92 authored by Povilas Kanapickas's avatar Povilas Kanapickas
Browse files

C++: Fix a typo in template declaration parser function



This is an obvious typo considering the checks at the beginning of the function.

Change-Id: I11b784153b650b02bba7bb942ca1131447a3da4a
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 06592b28
......@@ -1081,7 +1081,7 @@ bool Parser::parseTemplateDeclaration(DeclarationAST *&node)
TemplateDeclarationAST *ast = new (_pool) TemplateDeclarationAST;
if (LA() == T_EXPORT || LA() == T_EXPORT)
if (LA() == T_EXPORT || LA() == T_EXTERN)
ast->export_token = consumeToken();
ast->template_token = consumeToken();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment