From 3a0e971ebf64c6926029add2acd0ce5765b9d0cb Mon Sep 17 00:00:00 2001 From: Ed_ Date: Thu, 28 Sep 2023 20:35:20 -0400 Subject: [PATCH] Bugfix for parse_variable, const check for prefix specifiers causing infinite loop. --- project/components/interface.parsing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/components/interface.parsing.cpp b/project/components/interface.parsing.cpp index e90c8f0..d919ece 100644 --- a/project/components/interface.parsing.cpp +++ b/project/components/interface.parsing.cpp @@ -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++;