289 lines
		
	
	
	
		
			12 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			289 lines
		
	
	
	
		
			12 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| non-standard feature used
 | |
| identifier '%s' declared twice
 | |
| end of file encountered
 | |
| bad line directive
 | |
| unsigned real: digit of fraction expected
 | |
| unsigned real: digit of exponent expected
 | |
| unsigned real: too many digits (>72)
 | |
| unsigned integer: too many digits (>72)
 | |
| unsigned integer: overflow (>32767)
 | |
| string constant: must not exceed one line
 | |
| string constant: at least one character expected
 | |
| string constant: double quotes not allowed (see c option)
 | |
| string constant: too long (>72 chars)
 | |
| bad character
 | |
| identifier '%s' not declared
 | |
| location counter overflow: arrays too big
 | |
| location counter overflow: arrays too big
 | |
| arraysize too big
 | |
| variable '%s' never used
 | |
| variable '%s' never assigned
 | |
| the files contained in '%s' are not closed automatically
 | |
| constant expected
 | |
| constant: only integers and reals may be signed
 | |
| constant: out of bounds
 | |
| simple type expected
 | |
| enumerated type: element identifier expected
 | |
| enumerated type: ',' or ')' expected
 | |
| enumerated type: ',' expected
 | |
| enumerated type: ')' expected
 | |
| subrange type: type must be scalar, but not real
 | |
| subrange type: '..' expected
 | |
| subrange type: type of lower and upper bound incompatible
 | |
| subrange type: lower bound exceeds upper bound
 | |
| array type: '[' expected
 | |
| conformant array: low bound identifier expected
 | |
| conformant array: '..' expected
 | |
| conformant array: high bound identifier expected
 | |
| conformant array: ':' expected
 | |
| conformant array: index type identifier expected
 | |
| array type: index type not bounded
 | |
| array type: index separator or ']' expected
 | |
| array type: index separator expected
 | |
| array type: ']' expected
 | |
| array type: 'of' expected
 | |
| record variant part: tag type identifier expected
 | |
| record variant part: tag type identifier expected
 | |
| record variant part: type must be bounded
 | |
| record variant part: 'of' expected
 | |
| record variant: type of case label and tag incompatible
 | |
| record variant: multiple defined case label
 | |
| record variant: ',' or ':' expected
 | |
| record variant: ',' expected
 | |
| record variant: ':' expected
 | |
| record variant: '(' expected
 | |
| record variant: ')' expected
 | |
| record variant part: ';' or end of variant list expected
 | |
| record variant part: ';' expected
 | |
| record variant part: end of variant list expected
 | |
| record variant part: there must be a variant for each tag value
 | |
| field list: record section expected
 | |
| record section: field identifier expected
 | |
| record section: ',' or ':' expected
 | |
| record section: ',' expected
 | |
| record section: ':' expected
 | |
| field list: ';' or end of record section list expected
 | |
| field list: ';' expected
 | |
| field list: end of record section list expected
 | |
| type expected
 | |
| type: simple and pointer type may not be packed
 | |
| pointer type: type identifier expected
 | |
| pointer type: type identifier expected
 | |
| record type: 'end' expected
 | |
| set type: 'of' expected
 | |
| set type: too many elements in set
 | |
| set type: bad subrange of integer
 | |
| set of integer: the i option dictates the number of bits (default 16)
 | |
| set type: base type not bounded
 | |
| file type: 'of' expected
 | |
| file type: files within files not allowed
 | |
| var parameter: type identifier or conformant array expected
 | |
| var parameter: type identifier expected
 | |
| label declaration: unsigned integer expected
 | |
| label declaration: label '%i' multiple declared
 | |
| label declaration: ',' or ';' expected
 | |
| label declaration: ',' expected
 | |
| label declaration: ';' expected
 | |
| const declaration: constant identifier expected
 | |
| const declaration: '=' expected
 | |
| const declaration: ';' expected
 | |
| const declaration: constant identifier or 'type', 'var', 'procedure', 'function' or 'begin' expected
 | |
| type declaration: type identifier expected
 | |
| type declaration: '=' expected
 | |
| type declaration: ';' expected
 | |
| type declaration: type identifier or 'var', 'procedure', 'function' or 'begin' expected
 | |
| var declaration: var identifier expected
 | |
| var declaration: ',' or ':' expected
 | |
| var declaration: ',' expected
 | |
| var declaration: ':' expected
 | |
| var declaration: ';' expected
 | |
| var declaration: var identifier or 'procedure', 'function' or 'begin' expected
 | |
| parameter list: 'var','procedure','function' or identifier expected
 | |
| parameter list: parameter identifier expected
 | |
| parameter list: ',' or ':' expected
 | |
| parameter list: ',' expected
 | |
| parameter list: ':' expected
 | |
| parameter list: type identifier expected
 | |
| parameter list: ';' or ')' expected
 | |
| parameter list: ';' expected
 | |
| proc/func declaration: proc/func identifier expected
 | |
| proc/func declaration: previous declaration of '%s' was not forward
 | |
| proc/func declaration: parameter list expected
 | |
| parameterlist: ')' expected
 | |
| func declaration: ':' expected
 | |
| func declaration: result type identifier expected
 | |
| func declaration: result type must be scalar, subrange or pointer
 | |
| proc/func declaration: ';' expected
 | |
| proc/func declaration: block or directive expected
 | |
| proc/func declaration: '%s' unknown directive
 | |
| proc/func declaration: '%s' again forward declared
 | |
| proc/func declaration: ';' expected
 | |
| indexed variable: '[' only allowed following array variables
 | |
| indexed variable: index type not compatible with declaration
 | |
| indexed variable: ',' or ']' expected
 | |
| indexed variable: ',' expected
 | |
| assignment: standard function not allowed as destination
 | |
| assignment: cannot store the function result
 | |
| assignment: formal parameter function not allowed as destination
 | |
| assignment: function identifier may not be de-referenced
 | |
| variable: '[', '.', '^' or end of variable expected
 | |
| indexed variable: ']' expected
 | |
| field designator: field identifier expected
 | |
| field designator: '.' only allowed following record variables
 | |
| field designator: no field '%s' in this record
 | |
| referenced variable: '^' not allowed following zero-terminated strings
 | |
| referenced variable: '^' only allowed following pointer or file variables
 | |
| variable: var or field identifier expected
 | |
| call: too many actual parameters supplied
 | |
| call: proc/func identifier expected
 | |
| call: standard proc/func may not be used as parameter
 | |
| call: parameter lists of actual and formal proc/func incompatible
 | |
| call: type of actual and formal value parameter not compatible
 | |
| call: array parameter not conformable
 | |
| call: type of actual and formal variable parameter not similar
 | |
| call: packed elements not allowed as variable parameter
 | |
| call: ',' or ')' expected
 | |
| call: too few actual parameters supplied
 | |
| read(ln): type must be integer, char or real
 | |
| write(ln): type must be integer, char, real, string or boolean
 | |
| write(ln): ':', ',' or ')' expected
 | |
| write(ln): field width must be integer
 | |
| write(ln): ':', ',' or ')' expected
 | |
| write(ln): precision must be integer
 | |
| write(ln): precision may only be specified for reals
 | |
| read/write: too few actual parameters supplied
 | |
| read/write: standard input/output not mentioned in program heading
 | |
| read/write: ',' or ')' expected
 | |
| read/write: type of parameter not the same as that of the file elements
 | |
| read/write: parameter list expected
 | |
| readln/writeln: standard input/output not mentioned in program heading
 | |
| readln/writeln: only allowed on text files
 | |
| new/dispose: C-type strings not allowed here
 | |
| new/dispose: ',' or ')' expected
 | |
| new/dispose: too many actual parameters supplied
 | |
| new/dispose: type of tagfield value is incompatible with declaration
 | |
| call: '(' or end of call expected
 | |
| standard proc/func: parameter list expected
 | |
| standard input/output not mentioned in program heading
 | |
| file variable expected
 | |
| pointer variable expected
 | |
| pack: ',' expected
 | |
| pack: ',' expected
 | |
| unpack: ',' expected
 | |
| unpack: ',' expected
 | |
| standard proc/func: parameter type incompatible with specification
 | |
| eoln/page: text file variable expected
 | |
| pack/unpack: array types are incompatible
 | |
| pack/unpack: only for arrays
 | |
| abs: integer or real expected
 | |
| sqr: integer or real expected
 | |
| ord: type must be scalar or subrange, but not real
 | |
| pred/succ: type must be scalar or subrange, but not real
 | |
| trunc/round: real argument required
 | |
| call: ')' expected
 | |
| expression: left and right operand are incompatible
 | |
| set: incompatible elements
 | |
| set: base type must be bounded or of type integer
 | |
| set: base type upper bound exceeds maximum set element number
 | |
| set: element out of range
 | |
| set: ']' or element list expected
 | |
| set: '..', ',' or ']' expected
 | |
| set: ',' or ']' expected
 | |
| set: ',' expected
 | |
| factor expected
 | |
| factor: ')' expected
 | |
| factor: type of factor must be boolean
 | |
| set: ']' expected
 | |
| term: multiplying operator or end of term expected
 | |
| term: '*' only defined for integers, reals and sets
 | |
| term: '/' only defined for integers and reals
 | |
| term: 'div' only defined for integers
 | |
| term: 'mod' only defined for integers
 | |
| term: 'and' only defined for booleans
 | |
| simple expression: only integers and reals may be signed
 | |
| simple expression: adding operator or end of simple expression expected
 | |
| simple expression: '+' only defined for integers, reals and sets
 | |
| simple expression: '-' only defined for integers, reals and sets
 | |
| simple expression: 'or' only defined for booleans
 | |
| expression: relational operator or end of expression expected
 | |
| expression: set expected
 | |
| expression: left operand of 'in' not compatible with base type of right operand
 | |
| expression: only '=' and '<>' allowed on pointers
 | |
| expression: '<' and '>' not allowed on sets
 | |
| expression: comparison of arrays only allowed for strings
 | |
| expression: comparison of records not allowed
 | |
| expression: comparison of files not allowed
 | |
| assignment: ':=' expected
 | |
| assignment: left and right hand side incompatible
 | |
| goto statement: unsigned integer expected
 | |
| goto statement: label '%i' not declared
 | |
| if statement: type of expression must be boolean
 | |
| if statement: 'then' expected
 | |
| if statement: 'else' or end of if statement expected
 | |
| case statement: type must be scalar or subrange, but not real
 | |
| case statement: 'of' expected
 | |
| case statement: incompatible case label
 | |
| case statement: multiple defined case label
 | |
| case statement: ',' or ':' expected
 | |
| case statement: ',' expected
 | |
| case statement: ':' expected
 | |
| case statement: ';' or 'end' expected
 | |
| case statement: ';' expected
 | |
| case statement: 'end' expected
 | |
| repeat statement: ';' or 'until' expected
 | |
| repeat statement: ';' expected
 | |
| repeat statement: 'until' expected
 | |
| repeat statement: type of expression must be boolean
 | |
| while statement: type of expression must be boolean
 | |
| while statement: 'do' expected
 | |
| for statement: type of bound and control variable incompatible
 | |
| for statement: control variable expected
 | |
| for statement: control variable must be local
 | |
| for statement: type must be scalar or subrange, but not real
 | |
| for statement: ':=' expected
 | |
| for statement: 'to' or 'downto' expected
 | |
| for statement: upper bound not assignment compatible
 | |
| for statement: 'do' expected
 | |
| with statement: record variable expected
 | |
| with statement: ',' or 'do' expected
 | |
| with statement: ',' expected
 | |
| with statement: 'do' expected
 | |
| assertion: type of expression must be boolean
 | |
| statement expected
 | |
| label '%i' not declared
 | |
| label '%i' multiple defined
 | |
| statement: ':' expected
 | |
| unlabeled statement expected
 | |
| compound statement: ';' or 'end' expected
 | |
| compound statement: ';' expected
 | |
| compound statement: 'end' expected
 | |
| case statement: 'end' expected
 | |
| body: ';' or 'end' expected
 | |
| body: ';' expected
 | |
| body: label '%i' declared, but never defined
 | |
| program parameter '%s' not declared
 | |
| function '%s' never assigned
 | |
| block: declaration or body expected
 | |
| block: 'const', 'type', 'var', 'procedure', 'function' or 'begin' expected
 | |
| block: 'type', 'var', 'procedure', 'function' or 'begin' expected
 | |
| block: 'var', 'procedure', 'function' or 'begin' expected
 | |
| block: 'procedure', 'function' or 'begin' expected
 | |
| block: unsatisfied forward proc/func declaration(s)
 | |
| block: 'begin' expected
 | |
| block: 'end' expected
 | |
| program heading: 'program' expected
 | |
| program heading: program identifier expected
 | |
| program heading: file identifier list expected
 | |
| program heading: file identifier expected
 | |
| program heading: ',' or ')' expected
 | |
| program heading: ',' expected
 | |
| program heading: maximum number of file arguments exceeded (12)
 | |
| program heading: ')' expected
 | |
| program heading: ';' expected
 | |
| program: '.' expected
 | |
| 'program' expected
 | |
| module: 'const', 'type', 'var', 'procedure' or 'function' expected
 | |
| module: 'type', 'var', 'procedure' or 'function' expected
 | |
| module: 'var', 'procedure' or 'function' expected
 | |
| module: 'procedure' or 'function' expected
 | |
| garbage at end of program
 |