Source commit: 8d2a3e49cd0b5ebef4405673f4868ee40e89af5c
@@ -2719,7 +2719,11 @@ void __fastcall TCustomCommandType::LoadExtension(TStrings * Lines)
Line.Delete(1, 2);
}
- if (IsComment)
+ if (!IsComment)
+ {
+ break;
+ }
+ else
{
Line = Line.Trim();
int P;
@@ -2838,10 +2842,6 @@ void __fastcall TCustomCommandType::LoadExtension(TStrings * Lines)
- else
- {
- break;
- }