This commit is contained in:
Бондарев Иван 2018-01-28 11:30:28 +01:00
parent 596f66a1ea
commit a09e2e90e6

View file

@ -123,6 +123,7 @@ namespace PascalABCCompiler.Parsers
keywords.Add("template", "template"); keys.Add("template");
keywords.Add("namespace", "namespace"); keys.Add("namespace");
keywords.Add("exit", "exit"); keys.Add("exit");
//keywords.Add("typeof", "typeof"); //keys.Add("typeof");
//keywords.Add("sizeof", "sizeof"); //keys.Add("sizeof");
keywords_array = new string[keywords.Count + 2];
@ -2659,7 +2660,8 @@ namespace PascalABCCompiler.Parsers
{
while (i >= 0 && Text[i] != '{')
{
sb.Insert(0, Text[i]);
if (Text[i] != '$')//skip {$
sb.Insert(0, Text[i]);
i--;
}
if (i < 0)