mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-22 15:54:45 -08:00
Bugfix for parse_variable, const check for prefix specifiers causing infinite loop.
This commit is contained in:
parent
729c891cbd
commit
3a0e971ebf
@ -5620,7 +5620,7 @@ CodeVar parse_variable()
|
||||
|
||||
// Ignore const specifiers, they're handled by the type
|
||||
if ( spec == ESpecifier::Const )
|
||||
continue;
|
||||
break;
|
||||
|
||||
specs_found[NumSpecifiers] = spec;
|
||||
NumSpecifiers++;
|
||||
|
Loading…
Reference in New Issue
Block a user