fix #1714
This commit is contained in:
Бондарев Иван 2019-02-17 12:43:38 +01:00
parent a4eb5e1815
commit cc331a857a

View file

@ -310,11 +310,6 @@ namespace VisualPascalABC
while (end_off < text.Length && text[end_off] != '\'')
end_off++;
}
else if (c == '/' && end_off < text.Length - 1 && text[end_off + 1] == '/')
{
while (end_off < text.Length && text[end_off] != '\n')
end_off++;
}
else
{
string word = sb.ToString();
@ -340,6 +335,11 @@ namespace VisualPascalABC
while (end_off < text.Length && text[end_off] != '}')
end_off++;
}
else if (c == '/' && end_off < text.Length - 1 && text[end_off + 1] == '/')
{
while (end_off < text.Length && text[end_off] != '\n')
end_off++;
}
}
end_off++;
}
@ -376,11 +376,6 @@ namespace VisualPascalABC
while (end_off < text.Length && text[end_off] != '\'')
end_off++;
}
else if (c == '/' && end_off < text.Length - 1 && text[end_off + 1] == '/')
{
while (end_off < text.Length && text[end_off] != '\n')
end_off++;
}
else
{
string word = sb.ToString();
@ -408,6 +403,11 @@ namespace VisualPascalABC
while (end_off < text.Length && text[end_off] != '}')
end_off++;
}
else if (c == '/' && end_off < text.Length - 1 && text[end_off + 1] == '/')
{
while (end_off < text.Length && text[end_off] != '\n')
end_off++;
}
}
end_off++;
}