mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-15 03:01:47 -07:00
Bugfix for parse_variable, const check for prefix specifiers causing infinite loop.
This commit is contained in:
@ -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++;
|
||||
|
Reference in New Issue
Block a user