mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-02-12 07:05:29 +00:00
Multiline Lua comments are --[[ ]], not --[[ ]]--.
This commit is contained in:
parent
8617836230
commit
a70580ac8c
1 changed files with 3 additions and 7 deletions
|
@ -308,11 +308,9 @@ namespace CodeImp.DoomBuilder.SRB2
|
||||||
char c4 = (char)datareader.ReadByte();
|
char c4 = (char)datareader.ReadByte();
|
||||||
if (c4 == '[')
|
if (c4 == '[')
|
||||||
{
|
{
|
||||||
//Skip until ]]--
|
//Skip until ]]
|
||||||
char c5 = '\0';
|
char c5 = '\0';
|
||||||
char c6 = '\0';
|
char c6 = '\0';
|
||||||
char c7 = '\0';
|
|
||||||
char c8 = '\0';
|
|
||||||
prevstreamposition = datastream.Position; //mxd
|
prevstreamposition = datastream.Position; //mxd
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
@ -323,11 +321,9 @@ namespace CodeImp.DoomBuilder.SRB2
|
||||||
}
|
}
|
||||||
|
|
||||||
c5 = c6;
|
c5 = c6;
|
||||||
c6 = c7;
|
c6 = (char)datareader.ReadByte();
|
||||||
c7 = c8;
|
|
||||||
c8 = (char)datareader.ReadByte();
|
|
||||||
}
|
}
|
||||||
while ((c8 != '-') || (c7 != '-') || (c6 != ']') || (c5 != ']'));
|
while ((c6 != ']') || (c5 != ']'));
|
||||||
c = ' ';
|
c = ' ';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue