<!DOCTYPE LINUXDOC SYSTEM>

<!-- This SGML file generated by cxref. -->
<!-- cxref program (c) Andrew M. Bishop 1995,96,97,98. -->

<article>

<title>Cross reference for parse-yy.h of cxref.
<author>cxref

<sect>File parse-yy.h
<bf>RCS Header: /home/amb/cxref/RCS/parse-yy.h 1.9 1996/06/11 18:12:41 amb Exp </bf>
<p>

  C Cross Referencing &amp; Documentation tool. Version 1.2.
<newline>
  The function protypes that are missing from the lex and yacc output.
<p>
<p>
<descrip>
<tag>Included in:</tag>
<itemize>
<item>cxref.c
<item>func.c
<item>parse-lex.c
<item>parse-yacc.c
<item>preproc.c
<item>type.c
<item>var.c
</itemize>
</descrip>

<sect1>Included Files

<p>
<itemize>
<item><tt>#include &lt;stdio.h&gt;</tt>
</itemize>
<itemize>
<item><tt>#include &lt;stdlib.h&gt;</tt>
</itemize>

<sect1>Preprocessor definitions

<p>
 To stop multiple inclusions. 
<p>
<tt>#define PARSE_YY_H</tt><newline>
<p>
 Debugging output or not?
<newline>
  YYDEBUG=0 : No debugging at all, smaller, faster code.
<newline>
  YYDEBUG=1 : Debugging output only when parsing fails.
<newline>
  YYDEBUG=2 : Debugging output for each symbol from lex().
<newline>
  YYDEBUG=3 : Full yacc debugging output, state transitions etc.
<p>
<tt>#define YYDEBUG 0</tt><newline>
<p>
 Semantic type is a char*
<p>
<tt>#define YYSTYPE char</tt><newline>
<p>
 use prototypes in function declarations 
<p>
<tt>#define YY_USE_PROTOS</tt><newline>
<p>
 the &quot;const&quot; storage-class-modifier is valid 
<p>
<tt>#define YY_USE_CONST</tt><newline>
<p>
 Needed in lex but does nothing. 
<p>
<tt>#define yywrap</tt><newline>

<sect1>External Variables

<p>
<bf>parse_file</bf><newline>
 The name of the current file. 
<p>
<tt>extern char* parse_file</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>parse_file</itemize>
</descrip>
<p>
<bf>parse_line</bf><newline>
 The current line number in the file. 
<p>
<tt>extern int parse_line</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>parse_line</itemize>
</descrip>
<p>
<bf>yylval</bf><newline>
 For communication between the lex and yacc code. 
<p>
<tt>extern char* yylval</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>yylval</itemize>
</descrip>
<p>
<bf>yyin</bf><newline>
 For communication between the lex and yacc code. 
<p>
<tt>extern FILE* yyin</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>yyin</itemize>
</descrip>

</article>
