<!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-lex.c of cxref.
<author>cxref

<sect>File parse-lex.c
<bf>RCS Header: /home/amb/cxref/RCS/parse.l 1.28 1998/10/23 10:41:57 amb Exp </bf>
<p>

  C Cross Referencing &amp; Documentation tool. Version 1.4c.
<newline>
  C lexical analyser
  CPP processing, including GNU extensions, using yylval as a string.
<p>

<sect1>Included Files

<p>
<itemize>
<item><tt>#include &lt;stdio.h&gt;</tt>
</itemize>
<itemize>
<item><tt>#include &quot;parse-yy.h&quot;</tt>
<itemize>
<item><tt>#include &lt;stdio.h&gt;</tt>
<item><tt>#include &lt;stdlib.h&gt;</tt>
</itemize>
</itemize>
<itemize>
<item><tt>#include &quot;parse-yacc.h&quot;</tt>
</itemize>
<itemize>
<item><tt>#include &quot;cxref.h&quot;</tt>
<itemize>
<item><tt>#include &quot;datatype.h&quot;</tt>
</itemize>
</itemize>
<itemize>
<item><tt>#include &quot;memory.h&quot;</tt>
</itemize>
<itemize>
<item><tt>#include &lt;stdlib.h&gt;</tt>
</itemize>

<sect1>Preprocessor definitions

<p>
<tt>#define FLEX_SCANNER</tt><newline>
<p>
<tt>#define YY_FLEX_MAJOR_VERSION 2</tt><newline>
<p>
<tt>#define YY_FLEX_MINOR_VERSION 5</tt><newline>
<p>
<tt>#define YY_USE_PROTOS</tt><newline>
<p>
<tt>#define YY_USE_CONST</tt><newline>
<p>
<tt>#define yyconst const</tt><newline>
<p>
<tt>#define YY_PROTO( proto )</tt><newline>
<p>
<tt>#define YY_NULL 0</tt><newline>
<p>
<tt>#define YY_SC_TO_UI( c )</tt><newline>
<p>
<tt>#define BEGIN</tt><newline>
<p>
<tt>#define YY_START</tt><newline>
<p>
<tt>#define YYSTATE YY_START</tt><newline>
<p>
<tt>#define YY_STATE_EOF( state )</tt><newline>
<p>
<tt>#define YY_NEW_FILE</tt><newline>
<p>
<tt>#define YY_END_OF_BUFFER_CHAR 0</tt><newline>
<p>
<tt>#define YY_BUF_SIZE 16384</tt><newline>
<p>
<tt>#define EOB_ACT_CONTINUE_SCAN 0</tt><newline>
<p>
<tt>#define EOB_ACT_END_OF_FILE 1</tt><newline>
<p>
<tt>#define EOB_ACT_LAST_MATCH 2</tt><newline>
<p>
<tt>#define yyless( n )</tt><newline>
<p>
<tt>#define unput( c )</tt><newline>
<p>
<tt>#define YY_BUFFER_NEW 0</tt><newline>
<p>
<tt>#define YY_BUFFER_NORMAL 1</tt><newline>
<p>
<tt>#define YY_BUFFER_EOF_PENDING 2</tt><newline>
<p>
<tt>#define YY_CURRENT_BUFFER yy_current_buffer</tt><newline>
<p>
<tt>#define YY_FLUSH_BUFFER</tt><newline>
<p>
<tt>#define yy_new_buffer yy_create_buffer</tt><newline>
<p>
<tt>#define yy_set_interactive( is_interactive )</tt><newline>
<p>
<tt>#define yy_set_bol( at_bol )</tt><newline>
<p>
<tt>#define YY_AT_BOL</tt><newline>
<p>
<tt>#define YY_USES_REJECT</tt><newline>
<p>
<tt>#define yytext_ptr yytext</tt><newline>
<p>
<tt>#define YY_DO_BEFORE_ACTION</tt><newline>
<p>
<tt>#define YY_NUM_RULES 194</tt><newline>
<p>
<tt>#define YY_END_OF_BUFFER 195</tt><newline>
<p>
<tt>#define YY_TRAILING_MASK 0x2000</tt><newline>
<p>
<tt>#define YY_TRAILING_HEAD_MASK 0x4000</tt><newline>
<p>
<tt>#define REJECT</tt><newline>
<p>
<tt>#define yymore</tt><newline>
<p>
<tt>#define YY_MORE_ADJ 0</tt><newline>
<p>
<tt>#define YY_RESTORE_YY_MORE_OFFSET</tt><newline>
<p>
<tt>#define INITIAL 0</tt><newline>
<p>
<tt>#define START_COMMENT 1</tt><newline>
<p>
<tt>#define COMMENT 2</tt><newline>
<p>
<tt>#define SPECIAL_COMMENT 3</tt><newline>
<p>
<tt>#define START_COMMENT_CPP 4</tt><newline>
<p>
<tt>#define COMMENT_CPP 5</tt><newline>
<p>
<tt>#define SPECIAL_COMMENT_CPP 6</tt><newline>
<p>
<tt>#define CPP 7</tt><newline>
<p>
<tt>#define CPP_START 8</tt><newline>
<p>
<tt>#define CPP_INCLUDE 9</tt><newline>
<p>
<tt>#define CPP_INC_FILE 10</tt><newline>
<p>
<tt>#define CPP_INC_FLAGS 11</tt><newline>
<p>
<tt>#define CPP_DEFINE 12</tt><newline>
<p>
<tt>#define CPP_DEFINE_ARGP 13</tt><newline>
<p>
<tt>#define CPP_DEFINE_BODY 14</tt><newline>
<p>
<tt>#define CPP_DEFINE_ARGS 15</tt><newline>
<p>
<tt>#define GNU_LABEL 16</tt><newline>
<p>
<tt>#define GNU_ATTRIBUTE 17</tt><newline>
<p>
<tt>#define GNU_EXTENSION 18</tt><newline>
<p>
<tt>#define GNU_TYPEOF 19</tt><newline>
<p>
<tt>#define CHAR_VARYING 20</tt><newline>
<p>
<tt>#define YY_NO_PUSH_STATE 1</tt><newline>
<p>
<tt>#define YY_NO_POP_STATE 1</tt><newline>
<p>
<tt>#define YY_NO_TOP_STATE 1</tt><newline>
<p>
<tt>#define YY_READ_BUF_SIZE 8192</tt><newline>
<p>
<tt>#define ECHO</tt><newline>
<p>
<tt>#define YY_INPUT( buf, result, max_size )</tt><newline>
<p>
<tt>#define yyterminate</tt><newline>
<p>
<tt>#define YY_START_STACK_INCR 25</tt><newline>
<p>
<tt>#define YY_FATAL_ERROR( msg )</tt><newline>
<p>
<tt>#define YY_DECL</tt><newline>
<p>
<tt>#define YY_USER_ACTION</tt><newline>
<p>
<tt>#define YY_BREAK break</tt><newline>
<p>
<tt>#define YY_RULE_SETUP YY_USER_ACTION</tt><newline>
<p>
<tt>#define YY_EXIT_FAILURE 2</tt><newline>
<p>
<tt>#define yyless( n )</tt><newline>

<sect1>Typedef YY_BUFFER_STATE

<p>
<tt>typedef struct yy_buffer_state* YY_BUFFER_STATE</tt><newline>
<descrip>
<tag>See:</tag>
<itemize>
<item>Type struct yy_buffer_state
</itemize>
</descrip>

<sect1>Typedef yy_size_t

<p>
<tt>typedef unsigned int yy_size_t</tt><newline>

<sect1>Type struct yy_buffer_state

<p>
<itemize>
<item><tt>struct yy_buffer_state</tt><newline>
<itemize>
<item><tt>{</tt><newline>
<item><tt>FILE* yy_input_file;</tt><newline>
<item><tt>char* yy_ch_buf;</tt><newline>
<item><tt>char* yy_buf_pos;</tt><newline>
<item><tt>yy_size_t yy_buf_size;</tt><newline>
<item><tt>int yy_n_chars;</tt><newline>
<item><tt>int yy_is_our_buffer;</tt><newline>
<item><tt>int yy_is_interactive;</tt><newline>
<item><tt>int yy_at_bol;</tt><newline>
<item><tt>int yy_fill_buffer;</tt><newline>
<item><tt>int yy_buffer_status;</tt><newline>
<item><tt>}</tt><newline>
</itemize>
</itemize>

<sect1>Typedef YY_CHAR

<p>
<tt>typedef unsigned char YY_CHAR</tt><newline>

<sect1>Typedef yy_state_type

<p>
<tt>typedef int yy_state_type</tt><newline>

<sect1>Global Variable yyleng

<p>
<tt>int yyleng</tt><newline>
<descrip>
<tag>Visible in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Used in:</tag>
<itemize>
<item>yylex()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Variable yyin

<p>
<tt>FILE* yyin</tt><newline>
<descrip>
<tag>Visible in:</tag>
<itemize>
<item>cxref.c
<item>func.c
<item>parse-lex.c
<item>parse-yacc.c
<item>parse-yy.h
<item>preproc.c
<item>type.c
<item>var.c
</itemize>
<tag>Used in:</tag>
<itemize>
<item>DocumentTheFile()  :  cxref.c
<item>input()  :  parse-lex.c
<item>yy_get_next_buffer()  :  parse-lex.c
<item>yy_load_buffer_state()  :  parse-lex.c
<item>yylex()  :  parse-lex.c
<item>yyrestart()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Variable yyout

<p>
<tt>FILE* yyout</tt><newline>
<descrip>
<tag>Visible in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Used in:</tag>
<itemize>
<item>yylex()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Variable yytext

<p>
<tt>char* yytext</tt><newline>
<descrip>
<tag>Visible in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Used in:</tag>
<itemize>
<item>input()  :  parse-lex.c
<item>yy_get_next_buffer()  :  parse-lex.c
<item>yy_get_previous_state()  :  parse-lex.c
<item>yy_load_buffer_state()  :  parse-lex.c
<item>yylex()  :  parse-lex.c
<item>yyunput()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Variable parse_file

<p>
 The name of the current file. 
<p>
<tt>char* parse_file</tt><newline>
<descrip>
<tag>Visible in:</tag>
<itemize>
<item>comment.c
<item>cxref.c
<item>func.c
<item>parse-lex.c
<item>parse-yacc.c
<item>parse-yy.h
<item>preproc.c
<item>type.c
<item>var.c
</itemize>
<tag>Used in:</tag>
<itemize>
<item>ResetLexer()  :  parse-lex.c
<item>SeenComment()  :  comment.c
<item>SeenFunctionDeclaration()  :  func.c
<item>SeenFunctionProto()  :  func.c
<item>SeenVariableDefinition()  :  var.c
<item>yyerror()  :  parse-yacc.c
<item>yylex()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Variable parse_line

<p>
 The current line number in the file. 
<p>
<tt>int parse_line</tt><newline>
<descrip>
<tag>Visible in:</tag>
<itemize>
<item>cxref.c
<item>func.c
<item>parse-lex.c
<item>parse-yacc.c
<item>parse-yy.h
<item>preproc.c
<item>type.c
<item>var.c
</itemize>
<tag>Used in:</tag>
<itemize>
<item>ResetLexer()  :  parse-lex.c
<item>SeenDefine()  :  preproc.c
<item>SeenFunctionDeclaration()  :  func.c
<item>SeenStructUnionStart()  :  type.c
<item>SeenTypedef()  :  type.c
<item>SeenVariableDefinition()  :  var.c
<item>yyerror()  :  parse-yacc.c
<item>yylex()  :  parse-lex.c
</itemize>
</descrip>

<sect1>External Variables

<p>
<bf>in_header</bf><newline>
 If we are in a header file then ignore the comments. 
<p>
<tt>extern int in_header</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>in_header</itemize>
</descrip>
<p>
<bf>option_all_comments</bf><newline>
 One of the options controlling how comments are processed,   use all comments not just the specially formattted ones. 
<p>
<tt>extern int option_all_comments</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>option_all_comments</itemize>
</descrip>
<p>
<bf>option_block_comments</bf><newline>
 One of the options controlling how comments are processed,   remove the leading block comment marker. 
<p>
<tt>extern int option_block_comments</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>option_block_comments</itemize>
</descrip>
<p>
<bf>option_no_comments</bf><newline>
 One of the options controlling how comments are processed,   ignore all comments. 
<p>
<tt>extern int option_no_comments</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>option_no_comments</itemize>
</descrip>
<p>
<bf>option_warn</bf><newline>
 Flag that indicates if the comment warnings are to be issued. 
<p>
<tt>extern int option_warn</tt><newline>
<descrip>
<tag>Defined in:</tag>
<itemize>
<item>option_warn</itemize>
</descrip>

<sect1>Local Variables

<p>
<bf>yy_current_buffer</bf><newline>
<tt>static YY_BUFFER_STATE yy_current_buffer</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>input()
<item>yy_delete_buffer()
<item>yy_flush_buffer()
<item>yy_get_next_buffer()
<item>yy_load_buffer_state()
<item>yy_switch_to_buffer()
<item>yylex()
<item>yyrestart()
<item>yyunput()
</itemize>
</descrip>
<p>
<bf>yy_hold_char</bf><newline>
<tt>static char yy_hold_char</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>input()
<item>yy_load_buffer_state()
<item>yy_switch_to_buffer()
<item>yylex()
<item>yyunput()
</itemize>
</descrip>
<p>
<bf>yy_n_chars</bf><newline>
<tt>static int yy_n_chars</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>input()
<item>yy_get_next_buffer()
<item>yy_load_buffer_state()
<item>yy_switch_to_buffer()
<item>yylex()
<item>yyunput()
</itemize>
</descrip>
<p>
<bf>yy_c_buf_p</bf><newline>
<tt>static char* yy_c_buf_p</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>input()
<item>yy_get_next_buffer()
<item>yy_get_previous_state()
<item>yy_load_buffer_state()
<item>yy_switch_to_buffer()
<item>yylex()
<item>yyunput()
</itemize>
</descrip>
<p>
<bf>yy_init</bf><newline>
<tt>static int yy_init</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_start</bf><newline>
<tt>static int yy_start</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_did_buffer_switch_on_eof</bf><newline>
<tt>static int yy_did_buffer_switch_on_eof</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>input()
<item>yy_switch_to_buffer()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_acclist</bf><newline>
<tt>static const short int yy_acclist[766]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_accept</bf><newline>
<tt>static const short int yy_accept[659]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_ec</bf><newline>
<tt>static const int yy_ec[256]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_meta</bf><newline>
<tt>static const int yy_meta[73]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yy_try_NUL_trans()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_base</bf><newline>
<tt>static const short int yy_base[695]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yy_try_NUL_trans()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_def</bf><newline>
<tt>static const short int yy_def[695]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yy_try_NUL_trans()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_nxt</bf><newline>
<tt>static const short int yy_nxt[1786]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yy_try_NUL_trans()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_chk</bf><newline>
<tt>static const short int yy_chk[1786]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yy_try_NUL_trans()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_state_buf</bf><newline>
<tt>static yy_state_type yy_state_buf[16384+2]</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_state_ptr</bf><newline>
<tt>static yy_state_type* yy_state_ptr</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yy_get_previous_state()
<item>yy_try_NUL_trans()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_full_match</bf><newline>
<tt>static char* yy_full_match</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_lp</bf><newline>
<tt>static int yy_lp</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_looking_for_trail_begin</bf><newline>
<tt>static int yy_looking_for_trail_begin</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_full_lp</bf><newline>
<tt>static int yy_full_lp</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yylex()
</itemize>
</descrip>
<p>
<bf>yy_full_state</bf><newline>
<tt>static int* yy_full_state</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>yylex()
</itemize>
</descrip>
<p>
<bf>inc_file_flags</bf><newline>
 The flags that come out of GCC when a file is included. 
<p>
<tt>static int inc_file_flags</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>ResetLexer()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>define_value</bf><newline>
 The value of the thing that is defined (but only if it is simple). 
<p>
<tt>static char* define_value</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>ResetLexer()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>comment_init_state</bf><newline>
 The lex state at the time that a comment is seen. 
<p>
<tt>static int comment_init_state</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>ResetLexer()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>gnu_att_depth</bf><newline>
 To get around the GCC __attribute__ keyword, skip over matched () counted by this. 
<p>
<tt>static int gnu_att_depth</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>ResetLexer()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>gnu_typ_depth</bf><newline>
 To get around the GCC __typeof__ keyword, skip over matched () counted by this. 
<p>
<tt>static int gnu_typ_depth</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>ResetLexer()
<item>yylex()
</itemize>
</descrip>
<p>
<bf>push_past</bf><newline>
 If we see a comment immediately after a ',', ';', '};', '},' or ')' then push it before. 
<p>
<tt>static int push_past</tt><newline>
<descrip>
<tag>Used in:</tag>
<itemize>
<item>ResetLexer()
<item>yylex()
</itemize>
</descrip>

<sect1>Global Function ResetLexer()

<p>  Reset the Lexer, ready for the next file.
<p>
<tt>void ResetLexer ( void )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>cxref.h
</itemize>
<tag>Called by:</tag>
<itemize>
<item>main()  :  cxref.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>comment_init_state  :  parse-lex.c
<item>define_value  :  parse-lex.c
<item>gnu_att_depth  :  parse-lex.c
<item>gnu_typ_depth  :  parse-lex.c
<item>inc_file_flags  :  parse-lex.c
<item>parse_file  :  parse-lex.c
<item>parse_line  :  parse-lex.c
<item>push_past  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_create_buffer()

<p><tt>YY_BUFFER_STATE yy_create_buffer ( FILE* file, int size )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_fatal_error()  :  parse-lex.c
<item>yy_flex_alloc()  :  parse-lex.c
<item>yy_init_buffer()  :  parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yylex()  :  parse-lex.c
<item>yyrestart()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_delete_buffer()

<p><tt>void yy_delete_buffer ( YY_BUFFER_STATE b )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_flex_free()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_current_buffer  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_flush_buffer()

<p><tt>void yy_flush_buffer ( YY_BUFFER_STATE b )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_load_buffer_state()  :  parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_init_buffer()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_current_buffer  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_init_buffer()

<p><tt>void yy_init_buffer ( YY_BUFFER_STATE b, FILE* file )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_flush_buffer()  :  parse-lex.c
<item>fileno(), isatty()
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_create_buffer()  :  parse-lex.c
<item>yyrestart()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_load_buffer_state()

<p><tt>void yy_load_buffer_state ( void )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_flush_buffer()  :  parse-lex.c
<item>yy_switch_to_buffer()  :  parse-lex.c
<item>yylex()  :  parse-lex.c
<item>yyrestart()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_c_buf_p  :  parse-lex.c
<item>yy_current_buffer  :  parse-lex.c
<item>yy_hold_char  :  parse-lex.c
<item>yy_n_chars  :  parse-lex.c
<item>yyin  :  parse-lex.c
<item>yytext  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_scan_buffer()

<p><tt>YY_BUFFER_STATE yy_scan_buffer ( char* base, yy_size_t size )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_fatal_error()  :  parse-lex.c
<item>yy_flex_alloc()  :  parse-lex.c
<item>yy_switch_to_buffer()  :  parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_scan_bytes()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_scan_bytes()

<p><tt>YY_BUFFER_STATE yy_scan_bytes ( const char* bytes, int len )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_fatal_error()  :  parse-lex.c
<item>yy_flex_alloc()  :  parse-lex.c
<item>yy_scan_buffer()  :  parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_scan_string()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_scan_string()

<p><tt>YY_BUFFER_STATE yy_scan_string ( const char* yy_str )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_scan_bytes()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yy_switch_to_buffer()

<p><tt>void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_load_buffer_state()  :  parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_scan_buffer()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_c_buf_p  :  parse-lex.c
<item>yy_current_buffer  :  parse-lex.c
<item>yy_did_buffer_switch_on_eof  :  parse-lex.c
<item>yy_hold_char  :  parse-lex.c
<item>yy_n_chars  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yylex()

<p><tt>int yylex ( void )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-yy.h
</itemize>
<tag>Calls:</tag>
<itemize>
<item>CopyString()  :  memory.c
<item>GetCurrentComment()  :  comment.c
<item>IsAScopeVariable()  :  var.c
<item>IsATypeName()  :  type.c
<item>SeenComment()  :  comment.c
<item>SeenDefine()  :  preproc.c
<item>SeenDefineComment()  :  preproc.c
<item>SeenDefineFuncArgComment()  :  preproc.c
<item>SeenDefineFunctionArg()  :  preproc.c
<item>SeenDefineValue()  :  preproc.c
<item>SeenFileChange()  :  preproc.c
<item>SeenInclude()  :  preproc.c
<item>SeenIncludeComment()  :  preproc.c
<item>yy_create_buffer()  :  parse-lex.c
<item>yy_fatal_error()  :  parse-lex.c
<item>yy_get_next_buffer()  :  parse-lex.c
<item>yy_get_previous_state()  :  parse-lex.c
<item>yy_load_buffer_state()  :  parse-lex.c
<item>yy_try_NUL_trans()  :  parse-lex.c
<item>yyrestart()  :  parse-lex.c
<item>yyunput()  :  parse-lex.c
<item>atoi(), fprintf(), fwrite(), strlen()
</itemize>
<tag>Called by:</tag>
<itemize>
<item>cxref_yylex()  :  parse-yacc.c
<item>yyerror()  :  parse-yacc.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>comment_init_state  :  parse-lex.c
<item>define_value  :  parse-lex.c
<item>gnu_att_depth  :  parse-lex.c
<item>gnu_typ_depth  :  parse-lex.c
<item>in_header  :  preproc.c
<item>inc_file_flags  :  parse-lex.c
<item>option_all_comments  :  cxref.c
<item>option_block_comments  :  cxref.c
<item>option_no_comments  :  cxref.c
<item>option_warn  :  cxref.c
<item>parse_file  :  parse-lex.c
<item>parse_line  :  parse-lex.c
<item>push_past  :  parse-lex.c
<item>yy_accept  :  parse-lex.c
<item>yy_acclist  :  parse-lex.c
<item>yy_base  :  parse-lex.c
<item>yy_c_buf_p  :  parse-lex.c
<item>yy_chk  :  parse-lex.c
<item>yy_current_buffer  :  parse-lex.c
<item>yy_def  :  parse-lex.c
<item>yy_did_buffer_switch_on_eof  :  parse-lex.c
<item>yy_ec  :  parse-lex.c
<item>yy_full_lp  :  parse-lex.c
<item>yy_full_match  :  parse-lex.c
<item>yy_full_state  :  parse-lex.c
<item>yy_hold_char  :  parse-lex.c
<item>yy_init  :  parse-lex.c
<item>yy_looking_for_trail_begin  :  parse-lex.c
<item>yy_lp  :  parse-lex.c
<item>yy_meta  :  parse-lex.c
<item>yy_n_chars  :  parse-lex.c
<item>yy_nxt  :  parse-lex.c
<item>yy_start  :  parse-lex.c
<item>yy_state_buf  :  parse-lex.c
<item>yy_state_ptr  :  parse-lex.c
<item>yyin  :  parse-lex.c
<item>yyleng  :  parse-lex.c
<item>yylval  :  parse-yacc.c
<item>yyout  :  parse-lex.c
<item>yytext  :  parse-lex.c
</itemize>
</descrip>

<sect1>Global Function yyrestart()

<p><tt>void yyrestart ( FILE* input_file )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_create_buffer()  :  parse-lex.c
<item>yy_init_buffer()  :  parse-lex.c
<item>yy_load_buffer_state()  :  parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>DocumentTheFile()  :  cxref.c
<item>input()  :  parse-lex.c
<item>yy_get_next_buffer()  :  parse-lex.c
<item>yylex()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_current_buffer  :  parse-lex.c
<item>yyin  :  parse-lex.c
</itemize>
</descrip>

<sect1>Local Function input()

<p><tt>static int input ( void )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>input()  :  parse-lex.c
<item>yy_get_next_buffer()  :  parse-lex.c
<item>yyrestart()  :  parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>input()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_c_buf_p  :  parse-lex.c
<item>yy_current_buffer  :  parse-lex.c
<item>yy_did_buffer_switch_on_eof  :  parse-lex.c
<item>yy_hold_char  :  parse-lex.c
<item>yy_n_chars  :  parse-lex.c
<item>yyin  :  parse-lex.c
<item>yytext  :  parse-lex.c
</itemize>
</descrip>

<sect1>Local Function yy_fatal_error()

<p><tt>static void yy_fatal_error ( const char msg[] )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>exit(), fprintf()
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_create_buffer()  :  parse-lex.c
<item>yy_get_next_buffer()  :  parse-lex.c
<item>yy_scan_buffer()  :  parse-lex.c
<item>yy_scan_bytes()  :  parse-lex.c
<item>yylex()  :  parse-lex.c
<item>yyunput()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Local Function yy_flex_alloc()

<p><tt>static void* yy_flex_alloc ( yy_size_t size )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>malloc()
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_create_buffer()  :  parse-lex.c
<item>yy_scan_buffer()  :  parse-lex.c
<item>yy_scan_bytes()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Local Function yy_flex_free()

<p><tt>static void yy_flex_free ( void* ptr )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>free()
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yy_delete_buffer()  :  parse-lex.c
</itemize>
</descrip>

<sect1>Local Function yy_flex_realloc()

<p><tt>static void* yy_flex_realloc ( void* ptr, yy_size_t size )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>realloc()
</itemize>
</descrip>

<sect1>Local Function yy_get_next_buffer()

<p><tt>static int yy_get_next_buffer ( void )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_fatal_error()  :  parse-lex.c
<item>yyrestart()  :  parse-lex.c
<item>_getc_inline(), ferror(), fread()
</itemize>
<tag>Called by:</tag>
<itemize>
<item>input()  :  parse-lex.c
<item>yylex()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_c_buf_p  :  parse-lex.c
<item>yy_current_buffer  :  parse-lex.c
<item>yy_n_chars  :  parse-lex.c
<item>yyin  :  parse-lex.c
<item>yytext  :  parse-lex.c
</itemize>
</descrip>

<sect1>Local Function yy_get_previous_state()

<p><tt>static yy_state_type yy_get_previous_state ( void )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yylex()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_base  :  parse-lex.c
<item>yy_c_buf_p  :  parse-lex.c
<item>yy_chk  :  parse-lex.c
<item>yy_def  :  parse-lex.c
<item>yy_ec  :  parse-lex.c
<item>yy_meta  :  parse-lex.c
<item>yy_nxt  :  parse-lex.c
<item>yy_start  :  parse-lex.c
<item>yy_state_buf  :  parse-lex.c
<item>yy_state_ptr  :  parse-lex.c
<item>yytext  :  parse-lex.c
</itemize>
</descrip>

<sect1>Local Function yy_try_NUL_trans()

<p><tt>static yy_state_type yy_try_NUL_trans ( yy_state_type yy_current_state )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yylex()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_base  :  parse-lex.c
<item>yy_chk  :  parse-lex.c
<item>yy_def  :  parse-lex.c
<item>yy_meta  :  parse-lex.c
<item>yy_nxt  :  parse-lex.c
<item>yy_state_ptr  :  parse-lex.c
</itemize>
</descrip>

<sect1>Local Function yyunput()

<p><tt>static void yyunput ( int c, char* yy_bp )</tt><newline>
<descrip>
<tag>Prototyped in:</tag>
<itemize>
<item>parse-lex.c
</itemize>
<tag>Calls:</tag>
<itemize>
<item>yy_fatal_error()  :  parse-lex.c
</itemize>
<tag>Called by:</tag>
<itemize>
<item>yylex()  :  parse-lex.c
</itemize>
<tag>References Variables:</tag>
<itemize>
<item>yy_c_buf_p  :  parse-lex.c
<item>yy_current_buffer  :  parse-lex.c
<item>yy_hold_char  :  parse-lex.c
<item>yy_n_chars  :  parse-lex.c
<item>yytext  :  parse-lex.c
</itemize>
</descrip>

</article>
