We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b9fa8 commit 78461a9Copy full SHA for 78461a9
src/cpp/parse.cpp
@@ -1442,7 +1442,7 @@ bool Parser::rDeclaration(cpp_declarationt &declaration)
1442
<< "\n";
1443
#endif
1444
1445
- if((cv_q.is_not_nil() || storage_spec.is_auto()) &&
+ if(cv_q.is_not_nil() &&
1446
((t==TOK_IDENTIFIER && lex.LookAhead(1)=='=') || t=='*'))
1447
return rConstDeclaration(declaration, storage_spec, member_spec, cv_q);
1448
else
@@ -7997,7 +7997,7 @@ bool Parser::rDeclarationStatement(codet &statement)
7997
<< "Parser::rDeclarationStatement 3 " << t << "\n";
7998
7999
8000
8001
8002
{
8003
#ifdef DEBUG
0 commit comments