pascalabcnet/Parsers/OldPythonParser/PythonParserTools.cs

25 lines
595 B
C#
Raw Normal View History

2015-05-14 22:35:07 +03:00
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 { }
}