pascalabcnet/Parsers/PythonParser/PythonParserTools.cs
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

25 lines
595 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using GPPGTools;
namespace PascalABCCompiler.PythonABCParser
{
public static class StringResources
{
// for getting strings from \bin\Lng\<LNG>\PythonABCParser.dat
private const string prefix = "PYTHONABCPARSER_";
public static string Get(string Id)
{
string ret = PascalABCCompiler.StringResources.Get(prefix + Id);
if (ret == prefix + Id)
return Id;
return ret;
}
}
class PythonParserTools : GPPGParserTools { }
}