Intended for definition of constants, types, variables and procedure. The following declarations have exactly the same semantic as the corresponding declarations of yacc , but follow a slightly modified syntax. Myacc will not recognize other keywords than those listed. The following both declarations are intended to support keyword recognition. The listed tokens are marked as keywords.
All objects declared by the user are global to the module.
Statements must be part of a procedure. Actions must contain nothing else but legal statement sequences. The output files contain line number information for debugging of compilation errors. The input symbols to be recognized by lexical analysis are defined as constants. Their names are equal to those used in the token definitions of the input grammar.