Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Курсовая работа1 / Parser / UCcParserConsts

.pas
Скачиваний:
12
Добавлен:
01.05.2014
Размер:
2 Кб
Скачать
☆
{
  C-like language compiler v0.1.0.485

  12 november 2007

  Copyright (C) 2006, 2007 Igor Krooshch
  rheo.ikro@gmail.com

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
}

unit UCcParserConsts;

interface

resourcestring
  SCcParserMissingSymbolFmt = 'Missing ''%s''';
  SCcParserUnexpectedSymbolFmt = 'Unexpected symbol ''%s''';
  SCcParserExpressionExpected = 'Expression expected, but '','' is found';
  SCcParserExpectedButFoundFmt = '''%s'' expected, but ''%s'' is found';
  SCcParserUnexpectedEOF = 'Unexpected end of file';
  SCcParserIdentifierExpectedFmt = 'Identifier expected, but ''%s'' is found';
  SCcParserRedefinitionFmt = 'Redefinition of symbol ''%s''';
  SCcParserConstantFunction = 'Function cannot be constant';
  SCcParserFunctionNameExpected = 'Function name expected';
  SCcParserUnexpectedTypeOfSymbol = 'Unexpected type of symbol';
  SCcParserUnexpectedResultTypeFmt = 'Unexpected result type: %s';
  SCcParserUnableToReturn = 'Unable to do Return outside the function';
  SCcParserIntegerValueExpectedFmt =
    'Integral value expected, but ''%s'' is found';
  SCcParserInitialization =
    'Initialization is available for scalar variables only';
  SCcParserStructExpected = 'Structure required';
  SCcParserNotScalarArgument = 'Only scalar arguments are allowed';
  SCcParserNotScalarResult = 'Only scalar result is allowed';
  SCcParserArgTypeExpectedFmt = 'Argument type expected, but ''%s'' is found';
  SCcParserArrayExpected = 'Array type expected';
  SCcParserNestedFunctionsAreNotAllowed = 'Nested functions are not allowed';

resourcestring
  SCcPrefixStruct = '@s_';

const
  VAR_SEGMENT_FMT: string = '$$%s';

implementation

end.
 
Соседние файлы в папке Parser