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

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

.pas
Скачиваний:
12
Добавлен:
01.05.2014
Размер:
3 Кб
Скачать
☆
{
  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 UCcSymanticConsts;

interface

resourcestring
  SCcSymanticStructRequired = 'Structure type required';
  SCcSymanticInitialization = 'Only constants are allowed in initialization';
  SCcSymanticIndexOutOfBounds = 'Index of symbol is out of bounds';
  SCcSymanticTableStackEmpty = 'Stack of tables is empty';
  SCcSymanticDimension = 'Dimension index is out of bounds';
  SCcSymanticLValueExpected = 'L-value expected';
  SCcSymanticWrongArgumentsCount = 'Illegal arguments count';
  SCcSymanticArrayTypeExpected = 'Array-type variable expected';

  SCcSymanticMainReturnType = 'Function ''main'' must return integer value';
  SCcSymanticUnacceptableSequance = 'Unacceptable sequance of operations';
  SCcSymanticAddressExpr = 'Address expression is only accepted here';

  SCcSymanticUnsupportedOpForType =
    'This operation is not supported for floating-point values';

  SCcSymanticUnsupportedOperation =
    'This operation is not supported for such combination of operands';

  SCcSymanticConditionArgsType =
    'Both variants in condition must have the same value type';

  SCcSymanticIncompatibleTypes = 'Incompatible types of symbols';
  SCcSymanticUndefinedType = 'Undefined type';

  SCcStringConstantExpected = 'String constant expected';

  SCcSymanticInternalErrorFmt = 'Internal error %s';

  SCcInternalTS01 = 'TS01';   // Table stack
  SCcInternalDS01 = 'ADS01';  // Array dimension size
  SCcInternalCO01 = 'CO01';  // CalcOffset
  SCcInternalCIS01 = 'CIS01';  // CalcItemSize

// warnings
  SCcSymanticUnwantedResult = 'This conversion may cause an unwanted result';
  SCcSymanticReintroduction = 'This declaration hides already defined type';

implementation

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