PIPS
genspec_lex.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <math.h>
#include "genC.h"
#include "genspec.h"
#include <search.h>
#include <unistd.h>
+ Include dependency graph for genspec_lex.c:

Go to the source code of this file.

Data Structures

struct  yy_buffer_state
 
struct  yy_trans_info
 This struct is not used in this scanner, but its presence is necessary. More...
 

Macros

#define YY_INT_ALIGNED   short int
 
#define yy_create_buffer   genspec__create_buffer
 A lexical scanner generated by flex. More...
 
#define yy_delete_buffer   genspec__delete_buffer
 
#define yy_scan_buffer   genspec__scan_buffer
 
#define yy_scan_string   genspec__scan_string
 
#define yy_scan_bytes   genspec__scan_bytes
 
#define yy_init_buffer   genspec__init_buffer
 
#define yy_flush_buffer   genspec__flush_buffer
 
#define yy_load_buffer_state   genspec__load_buffer_state
 
#define yy_switch_to_buffer   genspec__switch_to_buffer
 
#define yypush_buffer_state   genspec_push_buffer_state
 
#define yypop_buffer_state   genspec_pop_buffer_state
 
#define yyensure_buffer_stack   genspec_ensure_buffer_stack
 
#define yy_flex_debug   genspec__flex_debug
 
#define yyin   genspec_in
 
#define yyleng   genspec_leng
 
#define yylex   genspec_lex
 
#define yylineno   genspec_lineno
 
#define yyout   genspec_out
 
#define yyrestart   genspec_restart
 
#define yytext   genspec_text
 
#define yywrap(void)   genspec_wrap
 Macros after this point can all be overridden by user definitions in section 1. More...
 
#define yyalloc   genspec_alloc
 
#define yyrealloc   genspec_realloc
 
#define yyfree   genspec_free
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   6
 
#define YY_FLEX_SUBMINOR_VERSION   4
 
#define FLEX_BETA
 
#define genspec__create_buffer_ALREADY_DEFINED
 
#define genspec__delete_buffer_ALREADY_DEFINED
 
#define genspec__scan_buffer_ALREADY_DEFINED
 
#define genspec__scan_string_ALREADY_DEFINED
 
#define genspec__scan_bytes_ALREADY_DEFINED
 
#define genspec__init_buffer_ALREADY_DEFINED
 
#define genspec__flush_buffer_ALREADY_DEFINED
 
#define genspec__load_buffer_state_ALREADY_DEFINED
 
#define genspec__switch_to_buffer_ALREADY_DEFINED
 
#define genspec_push_buffer_state_ALREADY_DEFINED
 
#define genspec_pop_buffer_state_ALREADY_DEFINED
 
#define genspec_ensure_buffer_stack_ALREADY_DEFINED
 
#define genspec_lex_ALREADY_DEFINED
 
#define genspec_restart_ALREADY_DEFINED
 
#define yylex_init   genspec_lex_init
 
#define yylex_init_extra   genspec_lex_init_extra
 
#define yylex_destroy(void)   genspec_lex_destroy
 Accessor methods to globals. More...
 
#define yyget_debug   genspec_get_debug
 
#define yyset_debug   genspec_set_debug
 
#define yyget_extra   genspec_get_extra
 
#define yyset_extra   genspec_set_extra
 
#define yyget_in   genspec_get_in
 
#define yyset_in   genspec_set_in
 
#define yyget_out   genspec_get_out
 
#define yyset_out   genspec_set_out
 
#define yyget_leng   genspec_get_leng
 
#define yyget_text   genspec_get_text
 
#define yyget_lineno   genspec_get_lineno
 
#define yyset_lineno   genspec_set_lineno
 
#define genspec_wrap_ALREADY_DEFINED
 
#define genspec_alloc_ALREADY_DEFINED
 
#define genspec_realloc_ALREADY_DEFINED
 
#define genspec_free_ALREADY_DEFINED
 
#define genspec_text_ALREADY_DEFINED
 
#define genspec_leng_ALREADY_DEFINED
 
#define genspec_in_ALREADY_DEFINED
 
#define genspec_out_ALREADY_DEFINED
 
#define genspec__flex_debug_ALREADY_DEFINED
 
#define genspec_lineno_ALREADY_DEFINED
 
#define FLEXINT_H
 First, we deal with platform-specific or compiler-specific issues. More...
 
#define INT8_MIN   (-128)
 Limits of integral types. More...
 
#define INT16_MIN   (-32767-1)
 
#define INT32_MIN   (-2147483647-1)
 
#define INT8_MAX   (127)
 
#define INT16_MAX   (32767)
 
#define INT32_MAX   (2147483647)
 
#define UINT8_MAX   (255U)
 
#define UINT16_MAX   (65535U)
 
#define UINT32_MAX   (4294967295U)
 
#define SIZE_MAX   (~(size_t)0)
 
#define yyconst   const
 ! C99 More...
 
#define yynoreturn
 
#define YY_NULL   0
 Returned upon end-of-file. More...
 
#define YY_SC_TO_UI(c)   ((YY_CHAR) (c))
 Promotes a possibly negative, possibly signed char to an integer in range [0..255] for use as an array index. More...
 
#define BEGIN   (yy_start) = 1 + 2 *
 Enter a start condition. More...
 
#define YY_START   (((yy_start) - 1) / 2)
 Translate the current start state into a value that can be later handed to BEGIN to return to the state. More...
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 Action number for EOF rule of a given start state. More...
 
#define YY_NEW_FILE   yyrestart( yyin )
 Special action meaning "start processing a new file". More...
 
#define YY_END_OF_BUFFER_CHAR   0
 
#define YY_BUF_SIZE   16384
 Size of default input buffer. More...
 
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 ia64 More...
 
#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SIZE_T
 
#define EOB_ACT_CONTINUE_SCAN   0
 
#define EOB_ACT_END_OF_FILE   1
 
#define EOB_ACT_LAST_MATCH   2
 
#define YY_LESS_LINENO(n)
 
#define YY_LINENO_REWIND_TO(ptr)
 
#define yyless(n)
 Return all but the first "n" matched characters back to the input stream. More...
 
#define unput(c)   yyunput( c, (yytext_ptr) )
 
#define YY_STRUCT_YY_BUFFER_STATE
 
#define YY_BUFFER_NEW   0
 
#define YY_BUFFER_NORMAL   1
 
#define YY_BUFFER_EOF_PENDING   2
 When an EOF's been seen but there's still some text to process then we mark the buffer as YY_EOF_PENDING, to indicate that we shouldn't try reading from the input source any more. More...
 
#define YY_CURRENT_BUFFER
 We provide macros for accessing buffer states in case in the future we want to put the buffer states in a more general "scanner state". More...
 
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 Same as previous macro, but useful when we know that the buffer stack is not NULL or when we need an lvalue. More...
 
#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )
 
#define yy_new_buffer   yy_create_buffer
 
#define yy_set_interactive(is_interactive)
 
#define yy_set_bol(at_bol)
 
#define YY_AT_BOL()   (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
 
#define yytext_ptr   yytext
 
#define YY_DO_BEFORE_ACTION
 Done after the current pattern has been matched and before the corresponding action - sets up yytext. More...
 
#define YY_NUM_RULES   26
 
#define YY_END_OF_BUFFER   27
 
#define REJECT   reject_used_but_not_detected
 The intent behind this definition is that it'll catch any uses of REJECT which flex missed. More...
 
#define yymore()   yymore_used_but_not_detected
 
#define YY_MORE_ADJ   0
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define yylval   genspec_lval
 
#define YY_INPUT(buffer, result, max_size)
 shared pointer! More...
 
#define INITIAL   0
 
#define YY_EXTRA_TYPE   void *
 Special case for "unistd.h", since it is non-ANSI. More...
 
#define YY_READ_BUF_SIZE   8192
 Amount of stuff to slurp up with each read. More...
 
#define ECHO   do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
 ia64 More...
 
#define yyterminate()   return YY_NULL
 Gets input and stuffs it into "buf". More...
 
#define YY_START_STACK_INCR   25
 Number of entries by which start-condition stack grows. More...
 
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
 Report a fatal error. More...
 
#define YY_DECL_IS_OURS   1
 end tables serialization structures and prototypes More...
 
#define YY_DECL   int yylex (void)
 
#define YY_USER_ACTION
 !YY_DECL More...
 
#define YY_BREAK   /**INTED*/break;
 Code executed at the end of each rule. More...
 
#define YY_RULE_SETUP
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 Return all but the first "n" matched characters back to the input stream. More...
 
#define YYTABLES_NAME   "yytables"
 

Typedefs

typedef signed char flex_int8_t
 C99 systems have <inttypes.h>. More...
 
typedef short int flex_int16_t
 
typedef int flex_int32_t
 
typedef unsigned char flex_uint8_t
 
typedef unsigned short int flex_uint16_t
 
typedef unsigned int flex_uint32_t
 
typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 
typedef flex_uint8_t YY_CHAR
 Begin user sect3. More...
 
typedef int yy_state_type
 

Functions

void yyrestart (FILE *input_file)
 
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 
YY_BUFFER_STATE yy_create_buffer (FILE *file, int size)
 
void yy_delete_buffer (YY_BUFFER_STATE b)
 
void yy_flush_buffer (YY_BUFFER_STATE b)
 
void yypush_buffer_state (YY_BUFFER_STATE new_buffer)
 
static void yy_init_buffer (YY_BUFFER_STATE b, FILE *file)
 
YY_BUFFER_STATE yy_scan_buffer (char *base, yy_size_t size)
 
YY_BUFFER_STATE yy_scan_string (const char *yy_str)
 
YY_BUFFER_STATE yy_scan_bytes (const char *bytes, int len)
 
void * yyalloc (yy_size_t)
 
void * yyrealloc (void *, yy_size_t)
 
void yyfree (void *)
 
static yy_state_type yy_get_previous_state (void)
 
static yy_state_type yy_try_NUL_trans (yy_state_type current_state)
 
static int yy_get_next_buffer (void)
 
static void yynoreturn yy_fatal_error (const char *msg)
 
void genspec_set_string_to_parse (char *s)
 
void genspec_reset_string_to_parse ()
 
char * strcache (char *s)
 cache parsed string instead of strduplicating them valid because those strign are never released SG, feb. More...
 
static int yy_init_globals (void)
 
void yyset_debug (int debug_flag)
 
void yyset_extra (YY_EXTRA_TYPE user_defined)
 
void yyset_in (FILE *_in_str)
 
void yyset_out (FILE *_out_str)
 
void yyset_lineno (int _line_number)
 
static int input (void)
 
 if (!(yy_init))
 

Variables

int yyleng
 number of characters read into yy_ch_buf More...
 
FILE * yyin
 
FILE * yyout
 
static size_t yy_buffer_stack_top = 0
 !YY_STRUCT_YY_BUFFER_STATE More...
 
static size_t yy_buffer_stack_max = 0
 capacity of stack. More...
 
static YY_BUFFER_STATEyy_buffer_stack = NULL
 Stack as an array. More...
 
static char yy_hold_char
 yy_hold_char holds the character lost when yytext is formed. More...
 
static int yy_n_chars
 
static char * yy_c_buf_p = NULL
 Points to current character in buffer. More...
 
static int yy_init = 0
 
static int yy_start = 0
 whether we need to initialize More...
 
static int yy_did_buffer_switch_on_eof
 start state number More...
 
int yylineno = 1
 Begin user sect3. More...
 
char * yytext
 
static const flex_int16_t yy_accept [96]
 
static const YY_CHAR yy_ec [256]
 
static const YY_CHAR yy_meta [48]
 
static const flex_int16_t yy_base [99]
 
static const flex_int16_t yy_def [99]
 
static const flex_int16_t yy_nxt [199]
 
static const flex_int16_t yy_chk [199]
 
static yy_state_type yy_last_accepting_state
 
static char * yy_last_accepting_cpos
 
int yy_flex_debug = 0
 
int Current_start
 
static char * string_to_parse = (char*) 0
 We may parse strings or files... More...
 
 YY_DECL
 The main scanner function which does all the work. More...
 
char * yy_cp
 
char * yy_bp
 
int yy_act
 

Macro Definition Documentation

◆ BEGIN

#define BEGIN   (yy_start) = 1 + 2 *

Enter a start condition.

This macro really ought to take a parameter, but we do it the disgusting crufty way forced on us by the ()-less definition of BEGIN.

Definition at line 376 of file genspec_lex.c.

◆ ECHO

#define ECHO   do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)

ia64

Copy whatever the last rule matched to the standard output. This used to be an fputs(), but since the string might contain NUL's, we now use fwrite().

Definition at line 981 of file genspec_lex.c.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 420 of file genspec_lex.c.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 421 of file genspec_lex.c.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 422 of file genspec_lex.c.

◆ FLEX_BETA

#define FLEX_BETA

Definition at line 38 of file genspec_lex.c.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 33 of file genspec_lex.c.

◆ FLEXINT_H

#define FLEXINT_H

First, we deal with platform-specific or compiler-specific issues.

begin standard C headers. end standard C headers. flex integer type definitions

Definition at line 288 of file genspec_lex.c.

◆ genspec__create_buffer_ALREADY_DEFINED

#define genspec__create_buffer_ALREADY_DEFINED

Definition at line 42 of file genspec_lex.c.

◆ genspec__delete_buffer_ALREADY_DEFINED

#define genspec__delete_buffer_ALREADY_DEFINED

Definition at line 48 of file genspec_lex.c.

◆ genspec__flex_debug_ALREADY_DEFINED

#define genspec__flex_debug_ALREADY_DEFINED

Definition at line 264 of file genspec_lex.c.

◆ genspec__flush_buffer_ALREADY_DEFINED

#define genspec__flush_buffer_ALREADY_DEFINED

Definition at line 78 of file genspec_lex.c.

◆ genspec__init_buffer_ALREADY_DEFINED

#define genspec__init_buffer_ALREADY_DEFINED

Definition at line 72 of file genspec_lex.c.

◆ genspec__load_buffer_state_ALREADY_DEFINED

#define genspec__load_buffer_state_ALREADY_DEFINED

Definition at line 84 of file genspec_lex.c.

◆ genspec__scan_buffer_ALREADY_DEFINED

#define genspec__scan_buffer_ALREADY_DEFINED

Definition at line 54 of file genspec_lex.c.

◆ genspec__scan_bytes_ALREADY_DEFINED

#define genspec__scan_bytes_ALREADY_DEFINED

Definition at line 66 of file genspec_lex.c.

◆ genspec__scan_string_ALREADY_DEFINED

#define genspec__scan_string_ALREADY_DEFINED

Definition at line 60 of file genspec_lex.c.

◆ genspec__switch_to_buffer_ALREADY_DEFINED

#define genspec__switch_to_buffer_ALREADY_DEFINED

Definition at line 90 of file genspec_lex.c.

◆ genspec_alloc_ALREADY_DEFINED

#define genspec_alloc_ALREADY_DEFINED

Definition at line 222 of file genspec_lex.c.

◆ genspec_ensure_buffer_stack_ALREADY_DEFINED

#define genspec_ensure_buffer_stack_ALREADY_DEFINED

Definition at line 108 of file genspec_lex.c.

◆ genspec_free_ALREADY_DEFINED

#define genspec_free_ALREADY_DEFINED

Definition at line 234 of file genspec_lex.c.

◆ genspec_in_ALREADY_DEFINED

#define genspec_in_ALREADY_DEFINED

Definition at line 252 of file genspec_lex.c.

◆ genspec_leng_ALREADY_DEFINED

#define genspec_leng_ALREADY_DEFINED

Definition at line 246 of file genspec_lex.c.

◆ genspec_lex_ALREADY_DEFINED

#define genspec_lex_ALREADY_DEFINED

Definition at line 114 of file genspec_lex.c.

◆ genspec_lineno_ALREADY_DEFINED

#define genspec_lineno_ALREADY_DEFINED

Definition at line 270 of file genspec_lex.c.

◆ genspec_out_ALREADY_DEFINED

#define genspec_out_ALREADY_DEFINED

Definition at line 258 of file genspec_lex.c.

◆ genspec_pop_buffer_state_ALREADY_DEFINED

#define genspec_pop_buffer_state_ALREADY_DEFINED

Definition at line 102 of file genspec_lex.c.

◆ genspec_push_buffer_state_ALREADY_DEFINED

#define genspec_push_buffer_state_ALREADY_DEFINED

Definition at line 96 of file genspec_lex.c.

◆ genspec_realloc_ALREADY_DEFINED

#define genspec_realloc_ALREADY_DEFINED

Definition at line 228 of file genspec_lex.c.

◆ genspec_restart_ALREADY_DEFINED

#define genspec_restart_ALREADY_DEFINED

Definition at line 120 of file genspec_lex.c.

◆ genspec_text_ALREADY_DEFINED

#define genspec_text_ALREADY_DEFINED

Definition at line 240 of file genspec_lex.c.

◆ genspec_wrap_ALREADY_DEFINED

#define genspec_wrap_ALREADY_DEFINED

Definition at line 216 of file genspec_lex.c.

◆ INITIAL

#define INITIAL   0

Definition at line 888 of file genspec_lex.c.

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 330 of file genspec_lex.c.

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

Definition at line 321 of file genspec_lex.c.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 333 of file genspec_lex.c.

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

Definition at line 324 of file genspec_lex.c.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 327 of file genspec_lex.c.

◆ INT8_MIN

#define INT8_MIN   (-128)

Limits of integral types.

Definition at line 318 of file genspec_lex.c.

◆ REJECT

#define REJECT   reject_used_but_not_detected

The intent behind this definition is that it'll catch any uses of REJECT which flex missed.

Definition at line 769 of file genspec_lex.c.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

Definition at line 346 of file genspec_lex.c.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 339 of file genspec_lex.c.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 342 of file genspec_lex.c.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 336 of file genspec_lex.c.

◆ unput

#define unput (   c)    yyunput( c, (yytext_ptr) )

Definition at line 440 of file genspec_lex.c.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 581 of file genspec_lex.c.

◆ YY_BREAK

#define YY_BREAK   /**INTED*/break;

Code executed at the end of each rule.

Definition at line 1060 of file genspec_lex.c.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Size of default input buffer.

Definition at line 398 of file genspec_lex.c.

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

When an EOF's been seen but there's still some text to process then we mark the buffer as YY_EOF_PENDING, to indicate that we shouldn't try reading from the input source any more.

We might still have a bunch of tokens to match, though, because of possible backing-up.

When we actually see the EOF, we change the status to "new" (via yyrestart()), so that the user can continue scanning by just pointing yyin at a new input file.

Definition at line 502 of file genspec_lex.c.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 490 of file genspec_lex.c.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 491 of file genspec_lex.c.

◆ yy_create_buffer

#define yy_create_buffer   genspec__create_buffer

A lexical scanner generated by flex.

Definition at line 8 of file genspec_lex.c.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER
Value:
: NULL)
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
Definition: genspec_lex.c:510
static size_t yy_buffer_stack_top
!YY_STRUCT_YY_BUFFER_STATE
Definition: genspec_lex.c:508

We provide macros for accessing buffer states in case in the future we want to put the buffer states in a more general "scanner state".

Returns the top of the stack, or NULL.

Definition at line 518 of file genspec_lex.c.

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Same as previous macro, but useful when we know that the buffer stack is not NULL or when we need an lvalue.

For internal use only.

Definition at line 524 of file genspec_lex.c.

◆ YY_DECL

#define YY_DECL   int yylex (void)

Definition at line 1048 of file genspec_lex.c.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

end tables serialization structures and prototypes

Default declaration of generated scanner - a define so the user can easily add parameters.

Definition at line 1044 of file genspec_lex.c.

◆ yy_delete_buffer

#define yy_delete_buffer   genspec__delete_buffer

Definition at line 9 of file genspec_lex.c.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyleng = (int) (yy_cp - yy_bp); \
*yy_cp = '\0'; \
void const char const char const int
static char yy_hold_char
yy_hold_char holds the character lost when yytext is formed.
Definition: genspec_lex.c:527
char * yy_cp
Definition: genspec_lex.c:1074
#define yytext_ptr
Definition: genspec_lex.c:597
char * yy_bp
Definition: genspec_lex.c:1074
static char * yy_c_buf_p
Points to current character in buffer.
Definition: genspec_lex.c:532

Done after the current pattern has been matched and before the corresponding action - sets up yytext.

Definition at line 607 of file genspec_lex.c.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   27

Definition at line 614 of file genspec_lex.c.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 387 of file genspec_lex.c.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

Special case for "unistd.h", since it is non-ANSI.

We include it way down here because we want the user's section 1 to have been scanned first. The user has a chance to override it with an option.

Definition at line 899 of file genspec_lex.c.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

Report a fatal error.

Definition at line 1035 of file genspec_lex.c.

◆ yy_flex_debug

#define yy_flex_debug   genspec__flex_debug

Definition at line 20 of file genspec_lex.c.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 34 of file genspec_lex.c.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 35 of file genspec_lex.c.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   4

Definition at line 36 of file genspec_lex.c.

◆ yy_flush_buffer

#define yy_flush_buffer   genspec__flush_buffer

Definition at line 14 of file genspec_lex.c.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )

Definition at line 552 of file genspec_lex.c.

◆ yy_init_buffer

#define yy_init_buffer   genspec__init_buffer

Definition at line 13 of file genspec_lex.c.

◆ YY_INPUT

#define YY_INPUT (   buffer,
  result,
  max_size 
)
Value:
{ \
int i = 0; \
if (string_to_parse) /**we're parsing a string */ \
{ \
while(i < (int) max_size && *string_to_parse) \
buffer[i++]=*string_to_parse++; \
} \
else /**it's a file */ \
{ \
int c; \
while (i < (int) max_size && (c=getc(yyin))!=EOF) \
buffer[i++]=(char) c; \
} \
result = i==0? YY_NULL: i; \
}
static char * string_to_parse
We may parse strings or files...
Definition: genspec_lex.c:819
#define YY_NULL
Returned upon end-of-file.
Definition: genspec_lex.c:365
#define yyin
Definition: genspec_lex.c:21

shared pointer!

Definition at line 821 of file genspec_lex.c.

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 4 of file genspec_lex.c.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO (   n)

Definition at line 424 of file genspec_lex.c.

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO (   ptr)

Definition at line 425 of file genspec_lex.c.

◆ yy_load_buffer_state

#define yy_load_buffer_state (   void)    genspec__load_buffer_state

Definition at line 15 of file genspec_lex.c.

Referenced by if().

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 771 of file genspec_lex.c.

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 562 of file genspec_lex.c.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart( yyin )

Special action meaning "start processing a new file".

Definition at line 386 of file genspec_lex.c.

◆ YY_NULL

#define YY_NULL   0

Returned upon end-of-file.

Definition at line 365 of file genspec_lex.c.

◆ YY_NUM_RULES

#define YY_NUM_RULES   26

Definition at line 613 of file genspec_lex.c.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Amount of stuff to slurp up with each read.

Definition at line 972 of file genspec_lex.c.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 772 of file genspec_lex.c.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP
Value:
if ( yyleng > 0 ) \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
(yytext[yyleng - 1] == '\n'); \
YY_USER_ACTION
#define yytext
Definition: genspec_lex.c:27
#define yyleng
Definition: genspec_lex.c:22

Definition at line 1063 of file genspec_lex.c.

◆ YY_SC_TO_UI

#define YY_SC_TO_UI (   c)    ((YY_CHAR) (c))

Promotes a possibly negative, possibly signed char to an integer in range [0..255] for use as an array index.

Definition at line 370 of file genspec_lex.c.

◆ yy_scan_buffer

#define yy_scan_buffer   genspec__scan_buffer

Definition at line 10 of file genspec_lex.c.

◆ yy_scan_bytes

#define yy_scan_bytes   genspec__scan_bytes

Definition at line 12 of file genspec_lex.c.

◆ yy_scan_string

#define yy_scan_string   genspec__scan_string

Definition at line 11 of file genspec_lex.c.

◆ yy_set_bol

#define yy_set_bol (   at_bol)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_CURRENT_BUFFER
We provide macros for accessing buffer states in case in the future we want to put the buffer states ...
Definition: genspec_lex.c:518
#define YY_BUF_SIZE
Size of default input buffer.
Definition: genspec_lex.c:398

Definition at line 572 of file genspec_lex.c.

◆ yy_set_interactive

#define yy_set_interactive (   is_interactive)
Value:
{ \
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}

Definition at line 563 of file genspec_lex.c.

◆ YY_START

#define YY_START   (((yy_start) - 1) / 2)

Translate the current start state into a value that can be later handed to BEGIN to return to the state.

The YYSTATE alias is for lex compatibility.

Definition at line 381 of file genspec_lex.c.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Number of entries by which start-condition stack grows.

Definition at line 1030 of file genspec_lex.c.

◆ YY_STATE_BUF_SIZE

#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

ia64

The state buf must be large enough to hold one state per character in the main buffer.

Definition at line 404 of file genspec_lex.c.

◆ YY_STATE_EOF

#define YY_STATE_EOF (   state)    (YY_END_OF_BUFFER + state + 1)

Action number for EOF rule of a given start state.

Definition at line 384 of file genspec_lex.c.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 443 of file genspec_lex.c.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   genspec__switch_to_buffer

Definition at line 16 of file genspec_lex.c.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 407 of file genspec_lex.c.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 412 of file genspec_lex.c.

◆ YY_USER_ACTION

#define YY_USER_ACTION

!YY_DECL

Code executed at the beginning of each rule, after yytext and yyleng have been set up.

Definition at line 1055 of file genspec_lex.c.

◆ yyalloc

#define yyalloc   genspec_alloc

Definition at line 29 of file genspec_lex.c.

◆ yyconst

#define yyconst   const

! C99

! FLEXINT_H begin standard C++ headers. TODO: this is always defined, so inline it

Definition at line 356 of file genspec_lex.c.

◆ yyensure_buffer_stack

#define yyensure_buffer_stack (   void)    genspec_ensure_buffer_stack

Definition at line 19 of file genspec_lex.c.

Referenced by if().

◆ yyfree

#define yyfree   genspec_free

Definition at line 31 of file genspec_lex.c.

◆ yyget_debug

#define yyget_debug (   void)    genspec_get_debug

Definition at line 146 of file genspec_lex.c.

◆ yyget_extra

#define yyget_extra (   void)    genspec_get_extra

Definition at line 158 of file genspec_lex.c.

◆ yyget_in

#define yyget_in (   void)    genspec_get_in

Definition at line 170 of file genspec_lex.c.

◆ yyget_leng

#define yyget_leng (   void)    genspec_get_leng

Definition at line 194 of file genspec_lex.c.

◆ yyget_lineno

#define yyget_lineno (   void)    genspec_get_lineno

Definition at line 206 of file genspec_lex.c.

◆ yyget_out

#define yyget_out (   void)    genspec_get_out

Definition at line 182 of file genspec_lex.c.

◆ yyget_text

#define yyget_text (   void)    genspec_get_text

Definition at line 200 of file genspec_lex.c.

◆ yyin

#define yyin   genspec_in

Definition at line 21 of file genspec_lex.c.

◆ yyleng

#define yyleng   genspec_leng

Definition at line 22 of file genspec_lex.c.

◆ yyless [1/2]

#define yyless (   n)
Value:
do \
{ \
/**Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
YY_RESTORE_YY_MORE_OFFSET \
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /**set up yytext again */ \
} \
while ( 0 )
#define YY_MORE_ADJ
Definition: genspec_lex.c:771

Return all but the first "n" matched characters back to the input stream.

Definition at line 428 of file genspec_lex.c.

◆ yyless [2/2]

#define yyless (   n)
Value:
do \
{ \
/**Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
yytext[yyleng] = (yy_hold_char); \
(yy_c_buf_p) = yytext + yyless_macro_arg; \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )

Return all but the first "n" matched characters back to the input stream.

Definition at line 428 of file genspec_lex.c.

◆ yylex

#define yylex (   void)    genspec_lex

Definition at line 23 of file genspec_lex.c.

◆ yylex_destroy

#define yylex_destroy (   void)    genspec_lex_destroy

Accessor methods to globals.

These are made visible to non-reentrant scanners for convenience.

Definition at line 140 of file genspec_lex.c.

◆ yylex_init

#define yylex_init   genspec_lex_init

Definition at line 128 of file genspec_lex.c.

◆ yylex_init_extra

#define yylex_init_extra   genspec_lex_init_extra

Definition at line 134 of file genspec_lex.c.

◆ yylineno

#define yylineno   genspec_lineno

Definition at line 24 of file genspec_lex.c.

◆ yylval

#define yylval   genspec_lval

Definition at line 810 of file genspec_lex.c.

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

Definition at line 770 of file genspec_lex.c.

◆ yynoreturn

#define yynoreturn

Definition at line 361 of file genspec_lex.c.

◆ yyout

#define yyout   genspec_out

Definition at line 25 of file genspec_lex.c.

◆ yypop_buffer_state

#define yypop_buffer_state (   void)    genspec_pop_buffer_state

Definition at line 18 of file genspec_lex.c.

◆ yypush_buffer_state

#define yypush_buffer_state   genspec_push_buffer_state

Definition at line 17 of file genspec_lex.c.

◆ yyrealloc

#define yyrealloc   genspec_realloc

Definition at line 30 of file genspec_lex.c.

◆ yyrestart

#define yyrestart   genspec_restart

Definition at line 26 of file genspec_lex.c.

◆ yyset_debug

#define yyset_debug   genspec_set_debug

Definition at line 152 of file genspec_lex.c.

◆ yyset_extra

#define yyset_extra   genspec_set_extra

Definition at line 164 of file genspec_lex.c.

◆ yyset_in

#define yyset_in   genspec_set_in

Definition at line 176 of file genspec_lex.c.

◆ yyset_lineno

#define yyset_lineno   genspec_set_lineno

Definition at line 212 of file genspec_lex.c.

◆ yyset_out

#define yyset_out   genspec_set_out

Definition at line 188 of file genspec_lex.c.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 382 of file genspec_lex.c.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Gets input and stuffs it into "buf".

number of characters read, or YY_NULL, is returned in "result". No semi-colon after return; correct usage is to write "yyterminate();" - we don't want an extra ';' after the "return" because that will cause some compilers to complain about unreachable statements.

Definition at line 1025 of file genspec_lex.c.

◆ yytext

#define yytext   genspec_text

Definition at line 27 of file genspec_lex.c.

◆ yytext_ptr

#define yytext_ptr   yytext

Definition at line 597 of file genspec_lex.c.

◆ yywrap

#define yywrap (   void)    genspec_wrap

Macros after this point can all be overridden by user definitions in section 1.

Definition at line 28 of file genspec_lex.c.

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 310 of file genspec_lex.c.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 311 of file genspec_lex.c.

◆ flex_int8_t

typedef signed char flex_int8_t

C99 systems have <inttypes.h>.

Non-C99 systems may or may not.

Definition at line 309 of file genspec_lex.c.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 313 of file genspec_lex.c.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 314 of file genspec_lex.c.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 312 of file genspec_lex.c.

◆ YY_BUFFER_STATE

Definition at line 408 of file genspec_lex.c.

◆ YY_CHAR

Begin user sect3.

Definition at line 584 of file genspec_lex.c.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 413 of file genspec_lex.c.

◆ yy_state_type

typedef int yy_state_type

Definition at line 588 of file genspec_lex.c.

Function Documentation

◆ genspec_reset_string_to_parse()

void genspec_reset_string_to_parse ( void  )

Definition at line 839 of file genspec_lex.c.

839 { string_to_parse = (char *) 0;}

References string_to_parse.

Referenced by gen_read_spec().

+ Here is the caller graph for this function:

◆ genspec_set_string_to_parse()

void genspec_set_string_to_parse ( char *  s)

Definition at line 838 of file genspec_lex.c.

838 { string_to_parse = s;}

References string_to_parse.

Referenced by gen_read_spec().

+ Here is the caller graph for this function:

◆ if()

if ( yy_init)

first start state

Definition at line 1077 of file genspec_lex.c.

1078  {
1079  (yy_init) = 1;
1080 
1081 #ifdef YY_USER_INIT
1082  YY_USER_INIT;
1083 #endif
1084 
1085  if ( ! (yy_start) )
1086  (yy_start) = 1; /* first start state */
1087 
1088  if ( ! yyin )
1089  yyin = stdin;
1090 
1091  if ( ! yyout )
1092  yyout = stdout;
1093 
1094  if ( ! YY_CURRENT_BUFFER ) {
1098  }
1099 
1101  }
#define yy_load_buffer_state
Definition: genspec_lex.c:15
static int yy_start
whether we need to initialize
Definition: genspec_lex.c:534
#define yyout
Definition: genspec_lex.c:25
#define yyensure_buffer_stack
Definition: genspec_lex.c:19
#define YY_CURRENT_BUFFER_LVALUE
Same as previous macro, but useful when we know that the buffer stack is not NULL or when we need an ...
Definition: genspec_lex.c:524
#define yy_create_buffer
A lexical scanner generated by flex.
Definition: genspec_lex.c:8
static int yy_init
Definition: genspec_lex.c:533

References YY_BUF_SIZE, yy_create_buffer, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init, yy_load_buffer_state, yy_start, yyensure_buffer_stack, yyin, and yyout.

◆ input()

static int input ( void  )
static

◆ strcache()

char* strcache ( char *  s)

cache parsed string instead of strduplicating them valid because those strign are never released SG, feb.

2009

Definition at line 866 of file genspec_lex.c.

867  {
868  static void* rootp = NULL;
869  char ** res = NULL;
870  if( !(res = tfind(s,&rootp,(int(*)(const void*,const void*))strcmp)) )
871  {
872  char * dup = strdup(s);
873  res = tsearch(dup,&rootp,(int(*)(const void*,const void*))strcmp);
874  assert(*res == dup);
875  }
876  return *res;
877  }
#define assert(ex)
Definition: newgen_assert.h:41
char * strdup()

References assert, and strdup().

+ Here is the call graph for this function:

◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer ( FILE *  file,
int  size 
)

◆ yy_delete_buffer()

void yy_delete_buffer ( YY_BUFFER_STATE  b)

◆ yy_fatal_error()

static void yynoreturn yy_fatal_error ( const char *  msg)
static

◆ yy_flush_buffer()

void yy_flush_buffer ( YY_BUFFER_STATE  b)

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( void  )
static

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( void  )
static

◆ yy_init_buffer()

static void yy_init_buffer ( YY_BUFFER_STATE  b,
FILE *  file 
)
static

◆ yy_init_globals()

static int yy_init_globals ( void  )
static

◆ yy_scan_buffer()

YY_BUFFER_STATE yy_scan_buffer ( char *  base,
yy_size_t  size 
)

◆ yy_scan_bytes()

YY_BUFFER_STATE yy_scan_bytes ( const char *  bytes,
int  len 
)

◆ yy_scan_string()

YY_BUFFER_STATE yy_scan_string ( const char *  yy_str)

◆ yy_switch_to_buffer()

void yy_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type  current_state)
static

◆ yyalloc()

void* yyalloc ( yy_size_t  )

◆ yyfree()

void yyfree ( void *  )

◆ yypush_buffer_state()

void yypush_buffer_state ( YY_BUFFER_STATE  new_buffer)

◆ yyrealloc()

void* yyrealloc ( void *  ,
yy_size_t   
)

◆ yyrestart()

void yyrestart ( FILE *  input_file)

◆ yyset_debug()

void yyset_debug ( int  debug_flag)

◆ yyset_extra()

void yyset_extra ( YY_EXTRA_TYPE  user_defined)

◆ yyset_in()

void yyset_in ( FILE *  _in_str)

◆ yyset_lineno()

void yyset_lineno ( int  _line_number)

◆ yyset_out()

void yyset_out ( FILE *  _out_str)

Variable Documentation

◆ Current_start

int Current_start
extern

Definition at line 62 of file build.c.

◆ string_to_parse

char* string_to_parse = (char*) 0
static

We may parse strings or files...

Definition at line 819 of file genspec_lex.c.

Referenced by genspec_reset_string_to_parse(), and genspec_set_string_to_parse().

◆ yy_accept

const flex_int16_t yy_accept[96]
static
Initial value:
=
{ 0,
25, 25, 27, 26, 25, 26, 13, 11, 7, 26,
24, 8, 9, 19, 23, 14, 15, 23, 23, 23,
23, 23, 10, 16, 17, 26, 25, 0, 0, 12,
24, 23, 23, 23, 23, 23, 23, 0, 18, 0,
22, 23, 23, 23, 23, 23, 0, 23, 4, 23,
23, 23, 0, 23, 23, 23, 23, 0, 23, 2,
23, 23, 0, 23, 23, 23, 0, 1, 23, 23,
23, 0, 23, 23, 3, 0, 5, 6, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
21, 0, 20, 0, 0
}

Definition at line 622 of file genspec_lex.c.

◆ yy_act

int yy_act

Definition at line 1075 of file genspec_lex.c.

◆ yy_base

const flex_int16_t yy_base[99]
static
Initial value:
=
{ 0,
0, 141, 149, 151, 46, 0, 151, 151, 151, 42,
137, 151, 151, 151, 0, 151, 151, 102, 105, 108,
111, 113, 0, 151, 151, 43, 51, 137, 138, 151,
129, 0, 96, 99, 97, 95, 104, 53, 151, 131,
151, 100, 95, 92, 88, 85, 57, 87, 0, 86,
91, 89, 56, 86, 80, 80, 91, 58, 90, 0,
76, 75, 60, 81, 32, 83, 61, 0, 71, 68,
73, 63, 60, 41, 0, 64, 0, 0, 65, 66,
68, 74, 70, 71, 77, 67, 92, 94, 90, 96,
151, 97, 151, 99, 151, 109, 78, 112
}

Definition at line 678 of file genspec_lex.c.

◆ yy_bp

char * yy_bp

Definition at line 1074 of file genspec_lex.c.

◆ yy_buffer_stack

YY_BUFFER_STATE* yy_buffer_stack = NULL
static

Stack as an array.

Definition at line 510 of file genspec_lex.c.

◆ yy_buffer_stack_max

size_t yy_buffer_stack_max = 0
static

capacity of stack.

Definition at line 509 of file genspec_lex.c.

◆ yy_buffer_stack_top

size_t yy_buffer_stack_top = 0
static

!YY_STRUCT_YY_BUFFER_STATE

Stack of input buffers. index of top of stack.

Definition at line 508 of file genspec_lex.c.

◆ yy_c_buf_p

char* yy_c_buf_p = NULL
static

Points to current character in buffer.

Definition at line 532 of file genspec_lex.c.

◆ yy_chk

const flex_int16_t yy_chk[199]
static
Initial value:
=
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 5, 5, 5,
10, 26, 27, 27, 27, 38, 10, 26, 53, 47,
58, 65, 63, 67, 65, 72, 76, 79, 80, 86,
81, 72, 83, 84, 38, 47, 82, 58, 63, 85,
97, 53, 67, 74, 76, 81, 79, 76, 83, 82,
80, 86, 89, 84, 87, 87, 88, 88, 90, 92,
89, 94, 73, 85, 71, 70, 90, 92, 69, 94,
96, 96, 98, 98, 98, 66, 64, 62, 61, 59,
57, 56, 55, 54, 52, 51, 50, 48, 46, 45,
44, 43, 42, 40, 37, 36, 35, 34, 33, 31,
29, 28, 22, 21, 20, 19, 18, 11, 3, 2,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95
}

Definition at line 734 of file genspec_lex.c.

◆ yy_cp

char* yy_cp

Definition at line 1074 of file genspec_lex.c.

◆ YY_DECL

YY_DECL
Initial value:
{
yy_state_type yy_current_state
int yy_state_type
Definition: genread_lex.c:588

The main scanner function which does all the work.

Definition at line 1071 of file genspec_lex.c.

◆ yy_def

const flex_int16_t yy_def[99]
static
Initial value:
=
{ 0,
95, 1, 95, 95, 95, 96, 95, 95, 95, 95,
95, 95, 95, 95, 97, 95, 95, 97, 97, 97,
97, 97, 97, 95, 95, 95, 95, 96, 98, 95,
95, 97, 97, 97, 97, 97, 97, 98, 95, 98,
95, 97, 97, 97, 97, 97, 98, 97, 97, 97,
97, 97, 98, 97, 97, 97, 97, 98, 97, 97,
97, 97, 98, 97, 97, 97, 98, 97, 97, 97,
97, 98, 97, 97, 97, 98, 97, 97, 98, 98,
98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
95, 98, 95, 98, 0, 95, 95, 95
}

Definition at line 693 of file genspec_lex.c.

◆ yy_did_buffer_switch_on_eof

int yy_did_buffer_switch_on_eof
static

start state number

Flag which is used to allow yywrap()'s to do buffer switches instead of setting up a fresh yyin. A bit of a hack ...

Definition at line 539 of file genspec_lex.c.

◆ yy_ec

const YY_CHAR yy_ec[256]
static

Definition at line 637 of file genspec_lex.c.

◆ yy_flex_debug

int yy_flex_debug = 0

Definition at line 764 of file genspec_lex.c.

◆ yy_hold_char

char yy_hold_char
static

yy_hold_char holds the character lost when yytext is formed.

Definition at line 527 of file genspec_lex.c.

◆ yy_init

int yy_init = 0
static

Definition at line 533 of file genspec_lex.c.

Referenced by if().

◆ yy_last_accepting_cpos

char* yy_last_accepting_cpos
static

Definition at line 761 of file genspec_lex.c.

◆ yy_last_accepting_state

yy_state_type yy_last_accepting_state
static

Definition at line 760 of file genspec_lex.c.

◆ yy_meta

const YY_CHAR yy_meta[48]
static
Initial value:
=
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
3, 1, 1, 1, 1, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 1, 1, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 1, 1
}

Definition at line 669 of file genspec_lex.c.

◆ yy_n_chars

int yy_n_chars
static

Definition at line 528 of file genspec_lex.c.

◆ yy_nxt

const flex_int16_t yy_nxt[199]
static
Initial value:
=
{ 0,
4, 5, 5, 5, 6, 7, 8, 9, 10, 4,
11, 12, 13, 14, 4, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 16, 17, 15,
15, 15, 18, 19, 20, 15, 15, 15, 15, 21,
15, 15, 22, 15, 23, 24, 25, 27, 27, 27,
29, 38, 27, 27, 27, 41, 30, 30, 41, 41,
41, 69, 41, 41, 70, 41, 41, 41, 41, 41,
41, 76, 41, 41, 47, 53, 41, 63, 67, 41,
32, 58, 72, 78, 79, 83, 81, 80, 85, 84,
82, 88, 91, 86, 41, 89, 41, 90, 93, 91,
92, 93, 77, 87, 75, 74, 94, 92, 73, 94,
28, 28, 40, 40, 40, 71, 68, 66, 65, 64,
62, 61, 60, 59, 57, 56, 55, 54, 52, 51,
50, 49, 48, 41, 46, 45, 44, 43, 42, 31,
41, 39, 37, 36, 35, 34, 33, 31, 95, 26,
3, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
95, 95, 95, 95, 95, 95, 95, 95
}

Definition at line 708 of file genspec_lex.c.

◆ yy_start

int yy_start = 0
static

whether we need to initialize

Definition at line 534 of file genspec_lex.c.

Referenced by if().

◆ yyin

FILE* yyin

Definition at line 586 of file genspec_lex.c.

◆ yyleng

int yyleng

number of characters read into yy_ch_buf

Definition at line 529 of file genspec_lex.c.

◆ yylineno

int yylineno = 1

Begin user sect3.

Definition at line 591 of file genspec_lex.c.

◆ yyout

FILE * yyout

Definition at line 418 of file genspec_lex.c.

◆ yytext

char* yytext

Definition at line 773 of file genspec_lex.c.