mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 03:41:47 +00:00
DECORATE parser: fixed a problem where parsing would fail when there was no space between the "States" label and the following curly brace
This commit is contained in:
parent
ce961501b9
commit
66a0618e83
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ namespace CodeImp.DoomBuilder.ZDoom
|
|||
if(reporterror) ReportError("Expected \"" + expectedtoken + "\", but got \"" + token + "\"");
|
||||
|
||||
// Rewind so this structure can be read again
|
||||
DataStream.Seek(-token.Length - 1, SeekOrigin.Current);
|
||||
DataStream.Seek(-token.Length, SeekOrigin.Current);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue