RCS Header: /home/amb/CVS/cxref/src/parse-yy.h,v 1.13 2003-09-05 17:57:55 amb Exp
C Cross Referencing & Documentation tool. Version 1.5f.
The function protypes that are missing from the lex and yacc output.
Included in: | cxref.c |
func.c | |
parse-lex.c | |
parse-yacc.c | |
preproc.c | |
type.c | |
var.c |
To stop multiple inclusions.
Debugging output or not?
YYDEBUG=0 : No debugging at all, smaller, faster code.
YYDEBUG=1 : Debugging output only when parsing fails.
YYDEBUG=2 : Debugging output for each symbol from lex().
YYDEBUG=3 : Full yacc debugging output, state transitions etc.
Semantic type is a char*
#define YYSTYPE yystype
use prototypes in function declarations
the "const" storage-class-modifier is valid
Define verbose errors in Bison generated file
This is needed in the Bison generated code.
#define xmalloc malloc
Print the semantic value
#define YYPRINT( file, type, value )
Needed in lex but does nothing.
Some versions of yacc (Sun) don't allow YYSTYPE to be #defined as char*
Turn the debugging output on and off.
extern int yydebug
Defined in: | parse-yacc.c |
The name of the current file.
extern char* parse_file
Defined in: | parse-lex.c |
The current line number in the file.
extern int parse_line
Defined in: | parse-lex.c |
For communication between the lex and yacc code.
extern yystype yylval
Defined in: | parse-yacc.c |
The file that the lex code is to read from.
extern FILE* yyin
Defined in: | parse-lex.c |