mirror of
https://github.com/Ed94/gencpp.git
synced 2024-11-10 02:54:53 -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
|
// Ignore const specifiers, they're handled by the type
|
||||||
if ( spec == ESpecifier::Const )
|
if ( spec == ESpecifier::Const )
|
||||||
continue;
|
break;
|
||||||
|
|
||||||
specs_found[NumSpecifiers] = spec;
|
specs_found[NumSpecifiers] = spec;
|
||||||
NumSpecifiers++;
|
NumSpecifiers++;
|
||||||
|
Loading…
Reference in New Issue
Block a user