fix #1718
fix #1717
fix #1716
fix #1715
This commit is contained in:
Бондарев Иван 2019-02-17 12:39:16 +01:00
parent 744845a060
commit a4eb5e1815

View file

@ -303,12 +303,7 @@ namespace VisualPascalABC
{
return null;
}
else if (c == '{')//nachalo kommentarija, propuskaem ego
{
end_off++;
while (end_off < text.Length && text[end_off] != '}')
end_off++;
}
else if (c == '\'')//nachalo kavychek, propuskaem
{
end_off++;
@ -339,6 +334,12 @@ namespace VisualPascalABC
}
}
sb.Remove(0, sb.Length);
if (c == '{')
{
end_off++;
while (end_off < text.Length && text[end_off] != '}')
end_off++;
}
}
end_off++;
}
@ -369,12 +370,6 @@ namespace VisualPascalABC
{
return null;
}
else if (c == '{')//nachalo kommentarija, propuskaem ego
{
end_off++;
while (end_off < text.Length && text[end_off] != '}')
end_off++;
}
else if (c == '\'')//nachalo kavychek, propuskaem
{
end_off++;
@ -407,6 +402,12 @@ namespace VisualPascalABC
}
}
sb.Remove(0, sb.Length);
if (c == '{')
{
end_off++;
while (end_off < text.Length && text[end_off] != '}')
end_off++;
}
}
end_off++;
}