mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Fixed, DECORATE parser: editor comments caused the parser to skip next actor definition when used in incorrect scope.
This commit is contained in:
parent
a57dce9b54
commit
7fef84fb5f
1 changed files with 8 additions and 0 deletions
|
@ -292,6 +292,14 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
|
||||
default:
|
||||
{
|
||||
//mxd. In some special cases (like the whole actor commented using "//") our special comments will be detected here...
|
||||
if(objdeclaration.StartsWith("$"))
|
||||
{
|
||||
// So skip the whole line, then carry on
|
||||
ReadLine();
|
||||
break;
|
||||
}
|
||||
|
||||
// Unknown structure!
|
||||
// Best we can do now is just find the first { and then
|
||||
// follow the scopes until the matching } is found
|
||||
|
|
Loading…
Reference in a new issue