Bugfix for parse_variable, const check for prefix specifiers causing infinite loop.

This commit is contained in:
Edward R. Gonzalez 2023-09-28 20:35:20 -04:00
parent 729c891cbd
commit 3a0e971ebf

View File

@ -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++;