PIPS
|
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <stdint.h>
#include <math.h>
#include "genC.h"
#include "newgen_include.h"
#include "genread.h"
#include <unistd.h>
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 genread__create_buffer |
A lexical scanner generated by flex. More... | |
#define | yy_delete_buffer genread__delete_buffer |
#define | yy_scan_buffer genread__scan_buffer |
#define | yy_scan_string genread__scan_string |
#define | yy_scan_bytes genread__scan_bytes |
#define | yy_init_buffer genread__init_buffer |
#define | yy_flush_buffer genread__flush_buffer |
#define | yy_load_buffer_state genread__load_buffer_state |
#define | yy_switch_to_buffer genread__switch_to_buffer |
#define | yypush_buffer_state genread_push_buffer_state |
#define | yypop_buffer_state genread_pop_buffer_state |
#define | yyensure_buffer_stack genread_ensure_buffer_stack |
#define | yy_flex_debug genread__flex_debug |
#define | yyin genread_in |
#define | yyleng genread_leng |
number of characters read into yy_ch_buf More... | |
#define | yylex genread_lex |
#define | yylineno genread_lineno |
#define | yyout genread_out |
#define | yyrestart genread_restart |
#define | yytext genread_text |
#define | yywrap(void) genread_wrap |
Macros after this point can all be overridden by user definitions in section 1. More... | |
#define | yyalloc genread_alloc |
#define | yyrealloc genread_realloc |
#define | yyfree genread_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 | genread__create_buffer_ALREADY_DEFINED |
#define | genread__delete_buffer_ALREADY_DEFINED |
#define | genread__scan_buffer_ALREADY_DEFINED |
#define | genread__scan_string_ALREADY_DEFINED |
#define | genread__scan_bytes_ALREADY_DEFINED |
#define | genread__init_buffer_ALREADY_DEFINED |
#define | genread__flush_buffer_ALREADY_DEFINED |
#define | genread__load_buffer_state_ALREADY_DEFINED |
#define | genread__switch_to_buffer_ALREADY_DEFINED |
#define | genread_push_buffer_state_ALREADY_DEFINED |
#define | genread_pop_buffer_state_ALREADY_DEFINED |
#define | genread_ensure_buffer_stack_ALREADY_DEFINED |
#define | genread_lex_ALREADY_DEFINED |
#define | genread_restart_ALREADY_DEFINED |
#define | yylex_init genread_lex_init |
#define | yylex_init_extra genread_lex_init_extra |
#define | yylex_destroy(void) genread_lex_destroy |
Accessor methods to globals. More... | |
#define | yyget_debug genread_get_debug |
#define | yyset_debug genread_set_debug |
#define | yyget_extra genread_get_extra |
#define | yyset_extra genread_set_extra |
#define | yyget_in genread_get_in |
#define | yyset_in genread_set_in |
#define | yyget_out genread_get_out |
#define | yyset_out genread_set_out |
#define | yyget_leng genread_get_leng |
#define | yyget_text genread_get_text |
#define | yyget_lineno genread_get_lineno |
#define | yyset_lineno genread_set_lineno |
#define | genread_wrap_ALREADY_DEFINED |
#define | genread_alloc_ALREADY_DEFINED |
#define | genread_realloc_ALREADY_DEFINED |
#define | genread_free_ALREADY_DEFINED |
#define | genread_text_ALREADY_DEFINED |
#define | genread_leng_ALREADY_DEFINED |
#define | genread_in_ALREADY_DEFINED |
#define | genread_out_ALREADY_DEFINED |
#define | genread__flex_debug_ALREADY_DEFINED |
#define | genread_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 34 |
#define | YY_END_OF_BUFFER 35 |
#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 genread_lval |
#define | INITIAL 0 |
#define | a_string 1 |
#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 | YY_INPUT(buf, result, max_size) |
Gets input and stuffs it into "buf". More... | |
#define | yyterminate() return YY_NULL |
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. 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 YY_USER_ACTION |
#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_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
typedef flex_uint8_t | YY_CHAR |
Begin user sect3. More... | |
typedef int | yy_state_type |
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_STATE * | yy_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 [80] |
static const YY_CHAR | yy_ec [256] |
static const YY_CHAR | yy_meta [31] |
static const flex_int16_t | yy_base [82] |
static const flex_int16_t | yy_def [82] |
static const flex_int16_t | yy_nxt [134] |
static const flex_int16_t | yy_chk [134] |
static yy_state_type | yy_last_accepting_state |
static char * | yy_last_accepting_cpos |
int | yy_flex_debug = 0 |
static string | literal = (char*) NULL |
static int | literal_size = 0 |
static size_t | newgen_line_number |
static size_t | newgen_char_number |
static size_t | newgen_col_number |
static size_t | newgen_lex_number |
YY_DECL | |
The main scanner function which does all the work. More... | |
char * | yy_cp |
char * | yy_bp |
int | yy_act |
#define a_string 1 |
Definition at line 843 of file genread_lex.c.
#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 genread_lex.c.
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 936 of file genread_lex.c.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 420 of file genread_lex.c.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 421 of file genread_lex.c.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 422 of file genread_lex.c.
#define FLEX_BETA |
Definition at line 38 of file genread_lex.c.
#define FLEX_SCANNER |
Definition at line 33 of file genread_lex.c.
#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 genread_lex.c.
#define genread__create_buffer_ALREADY_DEFINED |
Definition at line 42 of file genread_lex.c.
#define genread__delete_buffer_ALREADY_DEFINED |
Definition at line 48 of file genread_lex.c.
#define genread__flex_debug_ALREADY_DEFINED |
Definition at line 264 of file genread_lex.c.
#define genread__flush_buffer_ALREADY_DEFINED |
Definition at line 78 of file genread_lex.c.
#define genread__init_buffer_ALREADY_DEFINED |
Definition at line 72 of file genread_lex.c.
#define genread__load_buffer_state_ALREADY_DEFINED |
Definition at line 84 of file genread_lex.c.
#define genread__scan_buffer_ALREADY_DEFINED |
Definition at line 54 of file genread_lex.c.
#define genread__scan_bytes_ALREADY_DEFINED |
Definition at line 66 of file genread_lex.c.
#define genread__scan_string_ALREADY_DEFINED |
Definition at line 60 of file genread_lex.c.
#define genread__switch_to_buffer_ALREADY_DEFINED |
Definition at line 90 of file genread_lex.c.
#define genread_alloc_ALREADY_DEFINED |
Definition at line 222 of file genread_lex.c.
#define genread_ensure_buffer_stack_ALREADY_DEFINED |
Definition at line 108 of file genread_lex.c.
#define genread_free_ALREADY_DEFINED |
Definition at line 234 of file genread_lex.c.
#define genread_in_ALREADY_DEFINED |
Definition at line 252 of file genread_lex.c.
#define genread_leng_ALREADY_DEFINED |
Definition at line 246 of file genread_lex.c.
#define genread_lex_ALREADY_DEFINED |
Definition at line 114 of file genread_lex.c.
#define genread_lineno_ALREADY_DEFINED |
Definition at line 270 of file genread_lex.c.
#define genread_out_ALREADY_DEFINED |
Definition at line 258 of file genread_lex.c.
#define genread_pop_buffer_state_ALREADY_DEFINED |
Definition at line 102 of file genread_lex.c.
#define genread_push_buffer_state_ALREADY_DEFINED |
Definition at line 96 of file genread_lex.c.
#define genread_realloc_ALREADY_DEFINED |
Definition at line 228 of file genread_lex.c.
#define genread_restart_ALREADY_DEFINED |
Definition at line 120 of file genread_lex.c.
#define genread_text_ALREADY_DEFINED |
Definition at line 240 of file genread_lex.c.
#define genread_wrap_ALREADY_DEFINED |
Definition at line 216 of file genread_lex.c.
#define INITIAL 0 |
Definition at line 842 of file genread_lex.c.
#define INT16_MAX (32767) |
Definition at line 330 of file genread_lex.c.
#define INT16_MIN (-32767-1) |
Definition at line 321 of file genread_lex.c.
#define INT32_MAX (2147483647) |
Definition at line 333 of file genread_lex.c.
#define INT32_MIN (-2147483647-1) |
Definition at line 324 of file genread_lex.c.
#define INT8_MAX (127) |
Definition at line 327 of file genread_lex.c.
#define INT8_MIN (-128) |
Limits of integral types.
Definition at line 318 of file genread_lex.c.
#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 746 of file genread_lex.c.
#define SIZE_MAX (~(size_t)0) |
Definition at line 346 of file genread_lex.c.
#define UINT16_MAX (65535U) |
Definition at line 339 of file genread_lex.c.
#define UINT32_MAX (4294967295U) |
Definition at line 342 of file genread_lex.c.
#define UINT8_MAX (255U) |
Definition at line 336 of file genread_lex.c.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 440 of file genread_lex.c.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 581 of file genread_lex.c.
#define YY_BREAK /**INTED*/break; |
Code executed at the end of each rule.
Definition at line 1015 of file genread_lex.c.
#define YY_BUF_SIZE 16384 |
Size of default input buffer.
Definition at line 398 of file genread_lex.c.
#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 genread_lex.c.
#define YY_BUFFER_NEW 0 |
Definition at line 490 of file genread_lex.c.
#define YY_BUFFER_NORMAL 1 |
Definition at line 491 of file genread_lex.c.
#define yy_create_buffer genread__create_buffer |
A lexical scanner generated by flex.
Definition at line 8 of file genread_lex.c.
#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".
Returns the top of the stack, or NULL.
Definition at line 518 of file genread_lex.c.
#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 genread_lex.c.
Definition at line 1003 of file genread_lex.c.
#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 999 of file genread_lex.c.
#define yy_delete_buffer genread__delete_buffer |
Definition at line 9 of file genread_lex.c.
#define YY_DO_BEFORE_ACTION |
Done after the current pattern has been matched and before the corresponding action - sets up yytext.
Definition at line 607 of file genread_lex.c.
#define YY_END_OF_BUFFER 35 |
Definition at line 614 of file genread_lex.c.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 387 of file genread_lex.c.
#define YY_EXIT_FAILURE 2 |
#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 854 of file genread_lex.c.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Report a fatal error.
Definition at line 990 of file genread_lex.c.
int yy_flex_debug genread__flex_debug |
Definition at line 20 of file genread_lex.c.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 34 of file genread_lex.c.
#define YY_FLEX_MINOR_VERSION 6 |
Definition at line 35 of file genread_lex.c.
#define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 36 of file genread_lex.c.
#define yy_flush_buffer genread__flush_buffer |
Definition at line 14 of file genread_lex.c.
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
Definition at line 552 of file genread_lex.c.
#define yy_init_buffer genread__init_buffer |
Definition at line 13 of file genread_lex.c.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Gets input and stuffs it into "buf".
number of characters read, or YY_NULL, is returned in "result".
Definition at line 943 of file genread_lex.c.
#define YY_INT_ALIGNED short int |
Definition at line 4 of file genread_lex.c.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 424 of file genread_lex.c.
#define YY_LINENO_REWIND_TO | ( | ptr | ) |
Definition at line 425 of file genread_lex.c.
static void yy_load_buffer_state genread__load_buffer_state |
Definition at line 15 of file genread_lex.c.
Referenced by if().
#define YY_MORE_ADJ 0 |
Definition at line 748 of file genread_lex.c.
#define yy_new_buffer yy_create_buffer |
Definition at line 562 of file genread_lex.c.
Special action meaning "start processing a new file".
Definition at line 386 of file genread_lex.c.
#define YY_NULL 0 |
Returned upon end-of-file.
Definition at line 365 of file genread_lex.c.
#define YY_NUM_RULES 34 |
Definition at line 613 of file genread_lex.c.
#define YY_READ_BUF_SIZE 8192 |
Amount of stuff to slurp up with each read.
Definition at line 927 of file genread_lex.c.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 749 of file genread_lex.c.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 1018 of file genread_lex.c.
#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 genread_lex.c.
#define yy_scan_buffer genread__scan_buffer |
Definition at line 10 of file genread_lex.c.
#define yy_scan_bytes genread__scan_bytes |
Definition at line 12 of file genread_lex.c.
#define yy_scan_string genread__scan_string |
Definition at line 11 of file genread_lex.c.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 572 of file genread_lex.c.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 563 of file genread_lex.c.
#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 genread_lex.c.
#define YY_START_STACK_INCR 25 |
Number of entries by which start-condition stack grows.
Definition at line 985 of file genread_lex.c.
#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 genread_lex.c.
#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 genread_lex.c.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 443 of file genread_lex.c.
#define yy_switch_to_buffer genread__switch_to_buffer |
Definition at line 16 of file genread_lex.c.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 407 of file genread_lex.c.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 412 of file genread_lex.c.
#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 1010 of file genread_lex.c.
#define yyalloc genread_alloc |
Definition at line 29 of file genread_lex.c.
#define yyconst const |
! C99
! FLEXINT_H begin standard C++ headers. TODO: this is always defined, so inline it
Definition at line 356 of file genread_lex.c.
static void yyensure_buffer_stack genread_ensure_buffer_stack |
Definition at line 19 of file genread_lex.c.
Referenced by if().
#define yyfree genread_free |
Definition at line 31 of file genread_lex.c.
int yyget_debug genread_get_debug |
Definition at line 146 of file genread_lex.c.
YY_EXTRA_TYPE yyget_extra genread_get_extra |
Definition at line 158 of file genread_lex.c.
FILE * yyget_in genread_get_in |
Definition at line 170 of file genread_lex.c.
int yyget_leng genread_get_leng |
Definition at line 194 of file genread_lex.c.
int yyget_lineno genread_get_lineno |
Definition at line 206 of file genread_lex.c.
FILE * yyget_out genread_get_out |
Definition at line 182 of file genread_lex.c.
char * yyget_text genread_get_text |
Definition at line 200 of file genread_lex.c.
FILE * yyin genread_in |
Definition at line 21 of file genread_lex.c.
Referenced by if(), and newgen_start_lexer().
int yyleng genread_leng |
number of characters read into yy_ch_buf
Definition at line 22 of file genread_lex.c.
#define yyless | ( | n | ) |
Return all but the first "n" matched characters back to the input stream.
Definition at line 428 of file genread_lex.c.
#define yyless | ( | n | ) |
Return all but the first "n" matched characters back to the input stream.
Definition at line 428 of file genread_lex.c.
int yylex genread_lex |
Definition at line 23 of file genread_lex.c.
int yylex_destroy | ( | void | ) | genread_lex_destroy |
Accessor methods to globals.
These are made visible to non-reentrant scanners for convenience.
Definition at line 140 of file genread_lex.c.
#define yylex_init genread_lex_init |
Definition at line 128 of file genread_lex.c.
#define yylex_init_extra genread_lex_init_extra |
Definition at line 134 of file genread_lex.c.
int yylineno genread_lineno |
Definition at line 24 of file genread_lex.c.
#define yylval genread_lval |
Definition at line 790 of file genread_lex.c.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 747 of file genread_lex.c.
#define yynoreturn |
Definition at line 361 of file genread_lex.c.
FILE * yyout genread_out |
Definition at line 25 of file genread_lex.c.
Referenced by if().
void yypop_buffer_state genread_pop_buffer_state |
Definition at line 18 of file genread_lex.c.
#define yypush_buffer_state genread_push_buffer_state |
Definition at line 17 of file genread_lex.c.
#define yyrealloc genread_realloc |
Definition at line 30 of file genread_lex.c.
#define yyrestart genread_restart |
Definition at line 26 of file genread_lex.c.
#define yyset_debug genread_set_debug |
Definition at line 152 of file genread_lex.c.
#define yyset_extra genread_set_extra |
Definition at line 164 of file genread_lex.c.
#define yyset_in genread_set_in |
Definition at line 176 of file genread_lex.c.
#define yyset_lineno genread_set_lineno |
Definition at line 212 of file genread_lex.c.
#define yyset_out genread_set_out |
Definition at line 188 of file genread_lex.c.
#define YYSTATE YY_START |
Definition at line 382 of file genread_lex.c.
#define YYTABLES_NAME "yytables" |
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 980 of file genread_lex.c.
char * yytext genread_text |
Definition at line 27 of file genread_lex.c.
#define yytext_ptr yytext |
Definition at line 597 of file genread_lex.c.
int yywrap genread_wrap |
Macros after this point can all be overridden by user definitions in section 1.
Definition at line 28 of file genread_lex.c.
typedef short int flex_int16_t |
Definition at line 310 of file genread_lex.c.
typedef int flex_int32_t |
Definition at line 311 of file genread_lex.c.
typedef signed char flex_int8_t |
C99 systems have <inttypes.h>.
Non-C99 systems may or may not.
Definition at line 309 of file genread_lex.c.
typedef unsigned short int flex_uint16_t |
Definition at line 313 of file genread_lex.c.
typedef unsigned int flex_uint32_t |
Definition at line 314 of file genread_lex.c.
typedef unsigned char flex_uint8_t |
Definition at line 312 of file genread_lex.c.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 408 of file genread_lex.c.
typedef flex_uint8_t YY_CHAR |
Begin user sect3.
Definition at line 584 of file genread_lex.c.
Definition at line 413 of file genread_lex.c.
typedef int yy_state_type |
Definition at line 588 of file genread_lex.c.
|
static |
Definition at line 795 of file genread_lex.c.
References literal, literal_size, malloc(), and message_assert.
if | ( | ! | yy_init | ) |
first start state
Definition at line 1029 of file genread_lex.c.
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.
Referenced by adg_dataflowgraph(), adg_dataflowgraph_with_extremities(), compute_region_variables(), gen_sweep_init(), gen_sweep_update(), get_m_coef(), print_call_precondition(), reference_written_p(), region_dynamic_var_elim(), sl_max_constraints_nb(), and tmp_result_cmp().
|
static |
Referenced by dag_remove_vertex(), opencl_compile_mergeable_dag(), points_to_anywhere(), points_to_anywhere_typed(), points_to_nowhere(), and sc_delimiter().
void newgen_lexer_position | ( | FILE * | out | ) |
First part of user prologue.
The syntax of objects printed by GEN_WRITE.
Definition at line 831 of file genread_lex.c.
References fprintf(), newgen_char_number, newgen_col_number, newgen_lex_number, newgen_line_number, and out.
Referenced by yyerror().
void newgen_start_lexer | ( | FILE * | in | ) |
starting the scanner.
Definition at line 822 of file genread_lex.c.
References newgen_char_number, newgen_col_number, newgen_lex_number, newgen_line_number, and yyin.
Referenced by gen_read(), gen_read_spec(), and gen_read_tabulated().
YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, |
int | size | ||
) |
void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
|
static |
void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
|
static |
|
static |
|
static |
|
static |
YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, |
yy_size_t | size | ||
) |
YY_BUFFER_STATE yy_scan_bytes | ( | const char * | bytes, |
int | len | ||
) |
YY_BUFFER_STATE yy_scan_string | ( | const char * | yy_str | ) |
void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
|
static |
void yyfree | ( | void * | ) |
void yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
void* yyrealloc | ( | void * | , |
yy_size_t | |||
) |
void yyrestart | ( | FILE * | input_file | ) |
void yyset_debug | ( | int | debug_flag | ) |
void yyset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
void yyset_in | ( | FILE * | _in_str | ) |
void yyset_lineno | ( | int | _line_number | ) |
void yyset_out | ( | FILE * | _out_str | ) |
|
static |
Definition at line 793 of file genread_lex.c.
Referenced by append_to_literal().
|
static |
Definition at line 794 of file genread_lex.c.
Referenced by append_to_literal().
|
static |
Definition at line 818 of file genread_lex.c.
Referenced by newgen_lexer_position(), and newgen_start_lexer().
|
static |
Definition at line 819 of file genread_lex.c.
Referenced by newgen_lexer_position(), and newgen_start_lexer().
|
static |
Definition at line 820 of file genread_lex.c.
Referenced by newgen_lexer_position(), and newgen_start_lexer().
|
static |
Definition at line 817 of file genread_lex.c.
Referenced by newgen_lexer_position(), and newgen_start_lexer().
|
static |
Definition at line 622 of file genread_lex.c.
int yy_act |
Definition at line 1027 of file genread_lex.c.
|
static |
Definition at line 673 of file genread_lex.c.
char * yy_bp |
Definition at line 1026 of file genread_lex.c.
|
static |
Stack as an array.
Definition at line 510 of file genread_lex.c.
|
static |
capacity of stack.
Definition at line 509 of file genread_lex.c.
|
static |
!YY_STRUCT_YY_BUFFER_STATE
Stack of input buffers. index of top of stack.
Definition at line 508 of file genread_lex.c.
|
static |
Points to current character in buffer.
Definition at line 532 of file genread_lex.c.
|
static |
Definition at line 718 of file genread_lex.c.
char* yy_cp |
Definition at line 1026 of file genread_lex.c.
YY_DECL |
The main scanner function which does all the work.
Definition at line 1023 of file genread_lex.c.
|
static |
Definition at line 686 of file genread_lex.c.
|
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 genread_lex.c.
|
static |
Definition at line 634 of file genread_lex.c.
int yy_flex_debug = 0 |
Definition at line 741 of file genread_lex.c.
|
static |
yy_hold_char holds the character lost when yytext is formed.
Definition at line 527 of file genread_lex.c.
|
static |
Definition at line 533 of file genread_lex.c.
Referenced by if().
|
static |
Definition at line 738 of file genread_lex.c.
|
static |
Definition at line 737 of file genread_lex.c.
|
static |
Definition at line 666 of file genread_lex.c.
|
static |
Definition at line 528 of file genread_lex.c.
|
static |
Definition at line 699 of file genread_lex.c.
|
static |
FILE* yyin |
Definition at line 586 of file genread_lex.c.
int yyleng |
number of characters read into yy_ch_buf
Definition at line 529 of file genread_lex.c.
int yylineno = 1 |
Begin user sect3.
Definition at line 591 of file genread_lex.c.
FILE * yyout |
Definition at line 418 of file genread_lex.c.
char* yytext |
Definition at line 750 of file genread_lex.c.