Бондарев Иван 2019-04-09 21:15:08 +02:00
parent 9dceb34d7c
commit 08980ed693

View file

@ -536,13 +536,6 @@ namespace VisualPascalABC
if (!was_comment)
return null;
}
else if (c == '}')//nachalo kommenta
{
beg_off--;
was_comment = true;
while (beg_off >= 0 && text[beg_off] != '{')
beg_off--;
}
else if (c == '\'')
{
beg_off--;
@ -571,6 +564,13 @@ namespace VisualPascalABC
}
}
sb.Remove(0, sb.Length);
if (c == '}')//nachalo kommenta
{
beg_off--;
was_comment = true;
while (beg_off >= 0 && text[beg_off] != '{')
beg_off--;
}
}
beg_off--;
}