# File parse-yy.h

RCS Header: /home/amb/cxref/RCS/parse-yy.h 1.9 1996/06/11 18:12:41 amb Exp

C Cross Referencing & Documentation tool. Version 1.2.
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

## Included Files

- `#include <stdio.h>`

- `#include <stdlib.h>`

## Preprocessor definitions

To stop multiple inclusions.

`#define PARSE_YY_H`

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.

`#define YYDEBUG 0`

Semantic type is a char*

`#define YYSTYPE char`

use prototypes in function declarations

`#define YY_USE_PROTOS`

the "const" storage-class-modifier is valid

`#define YY_USE_CONST`

Needed in lex but does nothing.

`#define yywrap`

## External Variables

parse_file
The name of the current file.

`extern char* parse_file`

Defined in: | parse-lex.c

parse_line
The current line number in the file.

`extern int parse_line`

Defined in: | parse-lex.c

yylval
For communication between the lex and yacc code.

`extern char* yylval`

Defined in: | parse-yacc.c

yyin
For communication between the lex and yacc code.

`extern FILE* yyin`

Defined in: | parse-lex.c