Unit YaccLib

Classes

Functions

yyabort - trigger accept action of the parser; yyparse accepts returning 0, as if it reached end of input

yyaccept
yyaccept - delete the current lookahead token

yyclearin
yyclearin - error message printing routine used by the parser

yyerrmsg
yyerrlab - like yyaccept, but causes parser to return with value 1, as if an unrecoverable syntax error had been encountered

yyabort
yyerrok - causes error recovery to be started, as if a syntax error had been encountered

yyerrlab
yyerror - set to true to enable debugging output of parser

Types

YYSType

Constants

yymaxdepth

Variables

yychar
yydebug
yyerrflag
yyflag
yynerrs


Functions


procedure yyabort;

trigger accept action of the parser; yyparse accepts returning 0, as if it reached end of input

yyaccept


procedure yyaccept;

delete the current lookahead token

yyclearin


procedure yyclearin;

error message printing routine used by the parser

yyerrmsg


procedure yyerrlab;

like yyaccept, but causes parser to return with value 1, as if an unrecoverable syntax error had been encountered

yyabort


procedure yyerrok;

causes error recovery to be started, as if a syntax error had been encountered

yyerrlab


procedure yyerror ( msg : String );

set to true to enable debugging output of parser

Types


YYSType = Integer
default stack size of parser

Constants

yymaxdepth = 1024

Yacc Library Unit for TP Yacc Version 3.0, 6-17-91 AG

Variables

yychar : Integer

default value type, may be redefined in Yacc output file

yydebug : Boolean

current number of syntax errors reported by the parser

yyerrflag : Integer

yyflag : ( yyfnone, yyfaccept, yyfabort, yyferror )

when in error mode, resets the parser to its normal mode of operation *) (* Flags used internally by the parser routine:

yynerrs : Integer

current lookahead character