cprover
|
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <util/string_constant.h>
#include <util/unicode.h>
#include "preprocessor_line.h"
#include "literals/convert_float_literal.h"
#include "literals/convert_integer_literal.h"
#include "literals/convert_character_literal.h"
#include "literals/convert_string_literal.h"
#include "literals/unescape_string.h"
#include "ansi_c_parser.h"
#include "ansi_c_y.tab.h"
#include <util/pragma_wsign_compare.def>
#include <util/pragma_wnull_conversion.def>
#include <util/pragma_wdeprecated_register.def>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
Typedefs | |
typedef signed char | flex_int8_t |
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 |
typedef int | yy_state_type |
Functions | |
void | yyansi_crestart (FILE *input_file) |
Immediately switch to a different input stream. More... | |
void | yyansi_c_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
Switch to a different input buffer. More... | |
YY_BUFFER_STATE | yyansi_c_create_buffer (FILE *file, int size) |
Allocate and initialize an input buffer state. More... | |
void | yyansi_c_delete_buffer (YY_BUFFER_STATE b) |
Destroy the buffer. More... | |
void | yyansi_c_flush_buffer (YY_BUFFER_STATE b) |
Discard all buffered characters. More... | |
void | yyansi_cpush_buffer_state (YY_BUFFER_STATE new_buffer) |
Pushes the new state onto the stack. More... | |
void | yyansi_cpop_buffer_state (void) |
Removes and deletes the top of the stack, if present. More... | |
static void | yyansi_censure_buffer_stack (void) |
static void | yyansi_c_load_buffer_state (void) |
static void | yyansi_c_init_buffer (YY_BUFFER_STATE b, FILE *file) |
YY_BUFFER_STATE | yyansi_c_scan_buffer (char *base, yy_size_t size) |
Setup the input buffer state to scan directly from a user-specified character buffer. More... | |
YY_BUFFER_STATE | yyansi_c_scan_string (const char *yystr) |
Setup the input buffer state to scan a string. More... | |
YY_BUFFER_STATE | yyansi_c_scan_bytes (const char *yybytes, int _yybytes_len) |
Setup the input buffer state to scan the given bytes. More... | |
void * | yyansi_calloc (yy_size_t) |
void * | yyansi_crealloc (void *, yy_size_t) |
void | yyansi_cfree (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 | yy_fatal_error (const char *msg) |
int | make_identifier () |
int | MSC_Keyword (int token) |
int | cpp98_keyword (int token) |
int | cpp11_keyword (int token) |
int | MSC_cpp_keyword (int token) |
int | cpp_operator (int token) |
void | ansi_c_scanner_init () |
static int | yy_init_globals (void) |
int | yyansi_clex_destroy (void) |
int | yyansi_cget_debug (void) |
void | yyansi_cset_debug (int debug_flag) |
void * | yyansi_cget_extra (void) |
void | yyansi_cset_extra (void *user_defined) |
FILE * | yyansi_cget_in (void) |
Get the input stream. More... | |
void | yyansi_cset_in (FILE *_in_str) |
Set the input stream. More... | |
FILE * | yyansi_cget_out (void) |
Get the output stream. More... | |
void | yyansi_cset_out (FILE *_out_str) |
int | yyansi_cget_leng (void) |
Get the length of the current token. More... | |
char * | yyansi_cget_text (void) |
Get the current token. More... | |
int | yyansi_cget_lineno (void) |
Get the current line number. More... | |
void | yyansi_cset_lineno (int _line_number) |
Set the current line number. More... | |
int | yyansi_cwrap (void) |
static void | yy_push_state (int _new_state) |
static void | yy_pop_state (void) |
static int | yy_top_state (void) |
int | yyansi_clex (void) |
The main scanner function which does all the work. More... | |
Variables | |
int | yyansi_cleng |
FILE * | yyansi_cin = NULL |
FILE * | yyansi_cout = NULL |
static size_t | yy_buffer_stack_top = 0 |
index of top of stack. 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 |
static int | yy_n_chars |
static char * | yy_c_buf_p = NULL |
static int | yy_init = 0 |
static int | yy_start = 0 |
static int | yy_did_buffer_switch_on_eof |
int | yyansi_clineno = 1 |
char * | yyansi_ctext |
static const flex_int16_t | yy_accept [3881] |
static const YY_CHAR | yy_ec [256] |
static const YY_CHAR | yy_meta [109] |
static const flex_int16_t | yy_base [4037] |
static const flex_int16_t | yy_def [4037] |
static const flex_int16_t | yy_nxt [9988] |
static const flex_int16_t | yy_chk [9988] |
static yy_state_type | yy_last_accepting_state |
static char * | yy_last_accepting_cpos |
int | yyansi_c_flex_debug = 0 |
static int | yy_start_stack_ptr = 0 |
static int | yy_start_stack_depth = 0 |
static int * | yy_start_stack = NULL |
#define ASM_BLOCK 6 |
Definition at line 4408 of file ansi_c_lex.yy.cpp.
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 377 of file ansi_c_lex.yy.cpp.
#define COMMENT1 2 |
Definition at line 4404 of file ansi_c_lex.yy.cpp.
#define COMMENT2 3 |
Definition at line 4405 of file ansi_c_lex.yy.cpp.
#define CPROVER_ID 19 |
Definition at line 4421 of file ansi_c_lex.yy.cpp.
#define ECHO |
Definition at line 4248 of file ansi_c_lex.yy.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 421 of file ansi_c_lex.yy.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 422 of file ansi_c_lex.yy.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 423 of file ansi_c_lex.yy.cpp.
#define FLEX_BETA |
Definition at line 39 of file ansi_c_lex.yy.cpp.
#define FLEX_SCANNER |
Definition at line 34 of file ansi_c_lex.yy.cpp.
#define FLEXINT_H |
Definition at line 289 of file ansi_c_lex.yy.cpp.
#define GCC_ASM 17 |
Definition at line 4419 of file ansi_c_lex.yy.cpp.
#define GCC_ASM_PAREN 18 |
Definition at line 4420 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE1 11 |
Definition at line 4413 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE1a 12 |
Definition at line 4414 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE2 13 |
Definition at line 4415 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE3 14 |
Definition at line 4416 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE4 15 |
Definition at line 4417 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE5 16 |
Definition at line 4418 of file ansi_c_lex.yy.cpp.
#define GRAMMAR 1 |
Definition at line 4403 of file ansi_c_lex.yy.cpp.
#define IGNORE_PARENS 8 |
Definition at line 4410 of file ansi_c_lex.yy.cpp.
#define INITIAL 0 |
Definition at line 4402 of file ansi_c_lex.yy.cpp.
#define INT16_MAX (32767) |
Definition at line 331 of file ansi_c_lex.yy.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 322 of file ansi_c_lex.yy.cpp.
#define INT32_MAX (2147483647) |
Definition at line 334 of file ansi_c_lex.yy.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 325 of file ansi_c_lex.yy.cpp.
#define INT8_MAX (127) |
Definition at line 328 of file ansi_c_lex.yy.cpp.
#define INT8_MIN (-128) |
Definition at line 319 of file ansi_c_lex.yy.cpp.
#define loc | ( | ) | { newstack(yyansi_clval); PARSER.set_source_location(stack(yyansi_clval)); } |
Definition at line 4256 of file ansi_c_lex.yy.cpp.
#define MSC_ANNOTATION 10 |
Definition at line 4412 of file ansi_c_lex.yy.cpp.
#define MSC_ASM 7 |
Definition at line 4409 of file ansi_c_lex.yy.cpp.
#define MSC_PRAGMA 9 |
Definition at line 4411 of file ansi_c_lex.yy.cpp.
#define PARSER ansi_c_parser |
Definition at line 4245 of file ansi_c_lex.yy.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 4210 of file ansi_c_lex.yy.cpp.
#define SIZE_MAX (~(size_t)0) |
Definition at line 347 of file ansi_c_lex.yy.cpp.
#define STRING_LITERAL 4 |
Definition at line 4406 of file ansi_c_lex.yy.cpp.
#define STRING_LITERAL_COMMENT 5 |
Definition at line 4407 of file ansi_c_lex.yy.cpp.
#define UINT16_MAX (65535U) |
Definition at line 340 of file ansi_c_lex.yy.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 343 of file ansi_c_lex.yy.cpp.
#define UINT8_MAX (255U) |
Definition at line 337 of file ansi_c_lex.yy.cpp.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 441 of file ansi_c_lex.yy.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 582 of file ansi_c_lex.yy.cpp.
#define YY_BREAK /*LINTED*/break; |
Definition at line 4603 of file ansi_c_lex.yy.cpp.
#define YY_BUF_SIZE 16384 |
Definition at line 399 of file ansi_c_lex.yy.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 503 of file ansi_c_lex.yy.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 491 of file ansi_c_lex.yy.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 492 of file ansi_c_lex.yy.cpp.
#define yy_create_buffer yyansi_c_create_buffer |
Definition at line 9 of file ansi_c_lex.yy.cpp.
#define YY_CURRENT_BUFFER |
Definition at line 519 of file ansi_c_lex.yy.cpp.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 525 of file ansi_c_lex.yy.cpp.
#define YY_DECL int yylex (void) |
Definition at line 4591 of file ansi_c_lex.yy.cpp.
#define YY_DECL_IS_OURS 1 |
Definition at line 4587 of file ansi_c_lex.yy.cpp.
#define yy_delete_buffer yyansi_c_delete_buffer |
Definition at line 10 of file ansi_c_lex.yy.cpp.
#define YY_DO_BEFORE_ACTION |
Definition at line 608 of file ansi_c_lex.yy.cpp.
#define YY_END_OF_BUFFER 438 |
Definition at line 615 of file ansi_c_lex.yy.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 388 of file ansi_c_lex.yy.cpp.
#define YY_EXIT_FAILURE 2 |
Definition at line 8478 of file ansi_c_lex.yy.cpp.
#define YY_EXTRA_TYPE void * |
Definition at line 4432 of file ansi_c_lex.yy.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 4578 of file ansi_c_lex.yy.cpp.
#define yy_flex_debug yyansi_c_flex_debug |
Definition at line 21 of file ansi_c_lex.yy.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 35 of file ansi_c_lex.yy.cpp.
#define YY_FLEX_MINOR_VERSION 6 |
Definition at line 36 of file ansi_c_lex.yy.cpp.
#define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 37 of file ansi_c_lex.yy.cpp.
#define yy_flush_buffer yyansi_c_flush_buffer |
Definition at line 15 of file ansi_c_lex.yy.cpp.
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
Definition at line 553 of file ansi_c_lex.yy.cpp.
#define yy_init_buffer yyansi_c_init_buffer |
Definition at line 14 of file ansi_c_lex.yy.cpp.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Definition at line 4531 of file ansi_c_lex.yy.cpp.
#define YY_INT_ALIGNED short int |
Definition at line 5 of file ansi_c_lex.yy.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 425 of file ansi_c_lex.yy.cpp.
#define YY_LINENO_REWIND_TO | ( | ptr | ) |
Definition at line 426 of file ansi_c_lex.yy.cpp.
#define yy_load_buffer_state yyansi_c_load_buffer_state |
Definition at line 16 of file ansi_c_lex.yy.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 4212 of file ansi_c_lex.yy.cpp.
#define yy_new_buffer yy_create_buffer |
Definition at line 563 of file ansi_c_lex.yy.cpp.
Definition at line 387 of file ansi_c_lex.yy.cpp.
#define YY_NO_INPUT 1 |
Definition at line 4216 of file ansi_c_lex.yy.cpp.
#define YY_NULL 0 |
Definition at line 366 of file ansi_c_lex.yy.cpp.
#define YY_NUM_RULES 437 |
Definition at line 614 of file ansi_c_lex.yy.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 4515 of file ansi_c_lex.yy.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 4213 of file ansi_c_lex.yy.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 4606 of file ansi_c_lex.yy.cpp.
#define YY_SC_TO_UI | ( | c | ) | ((YY_CHAR) (c)) |
Definition at line 371 of file ansi_c_lex.yy.cpp.
#define yy_scan_buffer yyansi_c_scan_buffer |
Definition at line 11 of file ansi_c_lex.yy.cpp.
#define yy_scan_bytes yyansi_c_scan_bytes |
Definition at line 13 of file ansi_c_lex.yy.cpp.
#define yy_scan_string yyansi_c_scan_string |
Definition at line 12 of file ansi_c_lex.yy.cpp.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 573 of file ansi_c_lex.yy.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 564 of file ansi_c_lex.yy.cpp.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 382 of file ansi_c_lex.yy.cpp.
#define YY_START_STACK_INCR 25 |
Definition at line 4573 of file ansi_c_lex.yy.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 405 of file ansi_c_lex.yy.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 385 of file ansi_c_lex.yy.cpp.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 444 of file ansi_c_lex.yy.cpp.
#define yy_switch_to_buffer yyansi_c_switch_to_buffer |
Definition at line 17 of file ansi_c_lex.yy.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 408 of file ansi_c_lex.yy.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 413 of file ansi_c_lex.yy.cpp.
#define YY_USER_ACTION |
Definition at line 4598 of file ansi_c_lex.yy.cpp.
#define yyalloc yyansi_calloc |
Definition at line 30 of file ansi_c_lex.yy.cpp.
#define yyansi_c_create_buffer_ALREADY_DEFINED |
Definition at line 43 of file ansi_c_lex.yy.cpp.
#define yyansi_c_delete_buffer_ALREADY_DEFINED |
Definition at line 49 of file ansi_c_lex.yy.cpp.
#define yyansi_c_flex_debug_ALREADY_DEFINED |
Definition at line 265 of file ansi_c_lex.yy.cpp.
#define yyansi_c_flush_buffer_ALREADY_DEFINED |
Definition at line 79 of file ansi_c_lex.yy.cpp.
#define yyansi_c_init_buffer_ALREADY_DEFINED |
Definition at line 73 of file ansi_c_lex.yy.cpp.
#define yyansi_c_load_buffer_state_ALREADY_DEFINED |
Definition at line 85 of file ansi_c_lex.yy.cpp.
#define yyansi_c_scan_buffer_ALREADY_DEFINED |
Definition at line 55 of file ansi_c_lex.yy.cpp.
#define yyansi_c_scan_bytes_ALREADY_DEFINED |
Definition at line 67 of file ansi_c_lex.yy.cpp.
#define yyansi_c_scan_string_ALREADY_DEFINED |
Definition at line 61 of file ansi_c_lex.yy.cpp.
#define yyansi_c_switch_to_buffer_ALREADY_DEFINED |
Definition at line 91 of file ansi_c_lex.yy.cpp.
#define yyansi_calloc_ALREADY_DEFINED |
Definition at line 223 of file ansi_c_lex.yy.cpp.
#define yyansi_censure_buffer_stack_ALREADY_DEFINED |
Definition at line 109 of file ansi_c_lex.yy.cpp.
#define yyansi_cfree_ALREADY_DEFINED |
Definition at line 235 of file ansi_c_lex.yy.cpp.
#define yyansi_cin_ALREADY_DEFINED |
Definition at line 253 of file ansi_c_lex.yy.cpp.
#define yyansi_cleng_ALREADY_DEFINED |
Definition at line 247 of file ansi_c_lex.yy.cpp.
#define yyansi_clex_ALREADY_DEFINED |
Definition at line 115 of file ansi_c_lex.yy.cpp.
#define yyansi_clineno_ALREADY_DEFINED |
Definition at line 271 of file ansi_c_lex.yy.cpp.
#define yyansi_cout_ALREADY_DEFINED |
Definition at line 259 of file ansi_c_lex.yy.cpp.
#define yyansi_cpop_buffer_state_ALREADY_DEFINED |
Definition at line 103 of file ansi_c_lex.yy.cpp.
#define yyansi_cpush_buffer_state_ALREADY_DEFINED |
Definition at line 97 of file ansi_c_lex.yy.cpp.
#define yyansi_crealloc_ALREADY_DEFINED |
Definition at line 229 of file ansi_c_lex.yy.cpp.
#define yyansi_crestart_ALREADY_DEFINED |
Definition at line 121 of file ansi_c_lex.yy.cpp.
#define yyansi_ctext_ALREADY_DEFINED |
Definition at line 241 of file ansi_c_lex.yy.cpp.
#define yyansi_cwrap_ALREADY_DEFINED |
Definition at line 217 of file ansi_c_lex.yy.cpp.
#define yyconst const |
Definition at line 357 of file ansi_c_lex.yy.cpp.
#define yyensure_buffer_stack yyansi_censure_buffer_stack |
Definition at line 20 of file ansi_c_lex.yy.cpp.
#define yyfree yyansi_cfree |
Definition at line 32 of file ansi_c_lex.yy.cpp.
#define yyget_debug yyansi_cget_debug |
Definition at line 147 of file ansi_c_lex.yy.cpp.
#define yyget_extra yyansi_cget_extra |
Definition at line 159 of file ansi_c_lex.yy.cpp.
#define yyget_in yyansi_cget_in |
Definition at line 171 of file ansi_c_lex.yy.cpp.
#define yyget_leng yyansi_cget_leng |
Definition at line 195 of file ansi_c_lex.yy.cpp.
#define yyget_lineno yyansi_cget_lineno |
Definition at line 207 of file ansi_c_lex.yy.cpp.
#define yyget_out yyansi_cget_out |
Definition at line 183 of file ansi_c_lex.yy.cpp.
#define yyget_text yyansi_cget_text |
Definition at line 201 of file ansi_c_lex.yy.cpp.
#define yyin yyansi_cin |
Definition at line 22 of file ansi_c_lex.yy.cpp.
#define yyleng yyansi_cleng |
Definition at line 23 of file ansi_c_lex.yy.cpp.
#define yyless | ( | n | ) |
Definition at line 8490 of file ansi_c_lex.yy.cpp.
#define yyless | ( | n | ) |
Definition at line 8490 of file ansi_c_lex.yy.cpp.
#define yylex yyansi_clex |
Definition at line 24 of file ansi_c_lex.yy.cpp.
#define yylex_destroy yyansi_clex_destroy |
Definition at line 141 of file ansi_c_lex.yy.cpp.
#define yylex_init yyansi_clex_init |
Definition at line 129 of file ansi_c_lex.yy.cpp.
#define yylex_init_extra yyansi_clex_init_extra |
Definition at line 135 of file ansi_c_lex.yy.cpp.
#define yylineno yyansi_clineno |
Definition at line 25 of file ansi_c_lex.yy.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 4211 of file ansi_c_lex.yy.cpp.
#define yynoreturn |
Definition at line 362 of file ansi_c_lex.yy.cpp.
#define yyout yyansi_cout |
Definition at line 26 of file ansi_c_lex.yy.cpp.
#define yypop_buffer_state yyansi_cpop_buffer_state |
Definition at line 19 of file ansi_c_lex.yy.cpp.
#define yypush_buffer_state yyansi_cpush_buffer_state |
Definition at line 18 of file ansi_c_lex.yy.cpp.
#define yyrealloc yyansi_crealloc |
Definition at line 31 of file ansi_c_lex.yy.cpp.
#define yyrestart yyansi_crestart |
Definition at line 27 of file ansi_c_lex.yy.cpp.
#define yyset_debug yyansi_cset_debug |
Definition at line 153 of file ansi_c_lex.yy.cpp.
#define yyset_extra yyansi_cset_extra |
Definition at line 165 of file ansi_c_lex.yy.cpp.
#define yyset_in yyansi_cset_in |
Definition at line 177 of file ansi_c_lex.yy.cpp.
#define yyset_lineno yyansi_cset_lineno |
Definition at line 213 of file ansi_c_lex.yy.cpp.
#define yyset_out yyansi_cset_out |
Definition at line 189 of file ansi_c_lex.yy.cpp.
#define YYSTATE YY_START |
Definition at line 383 of file ansi_c_lex.yy.cpp.
#define YYSTYPE unsigned |
Definition at line 4246 of file ansi_c_lex.yy.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 8690 of file ansi_c_lex.yy.cpp.
#define yyterminate | ( | ) | return YY_NULL |
Definition at line 4568 of file ansi_c_lex.yy.cpp.
#define yytext yyansi_ctext |
Definition at line 28 of file ansi_c_lex.yy.cpp.
#define yytext_ptr yytext |
Definition at line 598 of file ansi_c_lex.yy.cpp.
#define yywrap yyansi_cwrap |
Definition at line 29 of file ansi_c_lex.yy.cpp.
typedef short int flex_int16_t |
Definition at line 311 of file ansi_c_lex.yy.cpp.
typedef int flex_int32_t |
Definition at line 312 of file ansi_c_lex.yy.cpp.
typedef signed char flex_int8_t |
Definition at line 310 of file ansi_c_lex.yy.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 314 of file ansi_c_lex.yy.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 315 of file ansi_c_lex.yy.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 313 of file ansi_c_lex.yy.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 409 of file ansi_c_lex.yy.cpp.
typedef flex_uint8_t YY_CHAR |
Definition at line 585 of file ansi_c_lex.yy.cpp.
typedef size_t yy_size_t |
Definition at line 414 of file ansi_c_lex.yy.cpp.
typedef int yy_state_type |
Definition at line 589 of file ansi_c_lex.yy.cpp.
void ansi_c_scanner_init | ( | ) |
Definition at line 4391 of file ansi_c_lex.yy.cpp.
int cpp11_keyword | ( | int | token | ) |
Definition at line 4347 of file ansi_c_lex.yy.cpp.
int cpp98_keyword | ( | int | token | ) |
Definition at line 4336 of file ansi_c_lex.yy.cpp.
int cpp_operator | ( | int | token | ) |
Definition at line 4369 of file ansi_c_lex.yy.cpp.
int make_identifier | ( | ) |
Definition at line 4259 of file ansi_c_lex.yy.cpp.
int MSC_cpp_keyword | ( | int | token | ) |
Definition at line 4358 of file ansi_c_lex.yy.cpp.
int MSC_Keyword | ( | int | token | ) |
Definition at line 4324 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8481 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 7819 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 7957 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8584 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8464 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8439 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8472 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 7989 of file ansi_c_lex.yy.cpp.
YY_BUFFER_STATE yyansi_c_create_buffer | ( | FILE * | file, |
int | size | ||
) |
Allocate and initialize an input buffer state.
file | A readable stream. |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . |
Definition at line 8157 of file ansi_c_lex.yy.cpp.
void yyansi_c_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with yy_create_buffer() |
Definition at line 8185 of file ansi_c_lex.yy.cpp.
void yyansi_c_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Discard all buffered characters.
On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
Definition at line 8232 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8204 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8143 of file ansi_c_lex.yy.cpp.
YY_BUFFER_STATE yyansi_c_scan_buffer | ( | char * | base, |
yy_size_t | size | ||
) |
Setup the input buffer state to scan directly from a user-specified character buffer.
base | the character buffer |
size | the size in bytes of the character buffer |
Definition at line 8359 of file ansi_c_lex.yy.cpp.
YY_BUFFER_STATE yyansi_c_scan_bytes | ( | const char * | yybytes, |
int | _yybytes_len | ||
) |
Setup the input buffer state to scan the given bytes.
The next call to yylex() will scan from a copy of bytes.
yybytes | the byte buffer to scan |
_yybytes_len | the number of bytes in the buffer pointed to by bytes. |
Definition at line 8409 of file ansi_c_lex.yy.cpp.
YY_BUFFER_STATE yyansi_c_scan_string | ( | const char * | yystr | ) |
Setup the input buffer state to scan a string.
The next call to yylex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
Definition at line 8396 of file ansi_c_lex.yy.cpp.
void yyansi_c_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
Definition at line 8112 of file ansi_c_lex.yy.cpp.
void * yyansi_calloc | ( | yy_size_t | size | ) |
Definition at line 8667 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8310 of file ansi_c_lex.yy.cpp.
void yyansi_cfree | ( | void * | ptr | ) |
Definition at line 8685 of file ansi_c_lex.yy.cpp.
int yyansi_cget_debug | ( | void | ) |
Definition at line 8574 of file ansi_c_lex.yy.cpp.
void* yyansi_cget_extra | ( | void | ) |
FILE * yyansi_cget_in | ( | void | ) |
Get the input stream.
Definition at line 8518 of file ansi_c_lex.yy.cpp.
int yyansi_cget_leng | ( | void | ) |
Get the length of the current token.
Definition at line 8534 of file ansi_c_lex.yy.cpp.
int yyansi_cget_lineno | ( | void | ) |
Get the current line number.
Definition at line 8509 of file ansi_c_lex.yy.cpp.
FILE * yyansi_cget_out | ( | void | ) |
Get the output stream.
Definition at line 8526 of file ansi_c_lex.yy.cpp.
char * yyansi_cget_text | ( | void | ) |
Get the current token.
Definition at line 8543 of file ansi_c_lex.yy.cpp.
int yyansi_clex | ( | void | ) |
The main scanner function which does all the work.
Definition at line 4611 of file ansi_c_lex.yy.cpp.
int yyansi_clex_destroy | ( | void | ) |
Definition at line 8617 of file ansi_c_lex.yy.cpp.
void yyansi_cpop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present.
The next element becomes the new top.
Definition at line 8291 of file ansi_c_lex.yy.cpp.
void yyansi_cpush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
Pushes the new state onto the stack.
The new state becomes the current state. This function will allocate the stack if necessary.
new_buffer | The new state. |
Definition at line 8261 of file ansi_c_lex.yy.cpp.
void * yyansi_crealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Definition at line 8672 of file ansi_c_lex.yy.cpp.
void yyansi_crestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. Definition at line 8095 of file ansi_c_lex.yy.cpp.
void yyansi_cset_debug | ( | int | debug_flag | ) |
Definition at line 8579 of file ansi_c_lex.yy.cpp.
void yyansi_cset_extra | ( | void * | user_defined | ) |
void yyansi_cset_in | ( | FILE * | _in_str | ) |
Set the input stream.
This does not discard the current input buffer.
_in_str | A readable stream. |
Definition at line 8564 of file ansi_c_lex.yy.cpp.
void yyansi_cset_lineno | ( | int | _line_number | ) |
Set the current line number.
_line_number | line number |
Definition at line 8552 of file ansi_c_lex.yy.cpp.
void yyansi_cset_out | ( | FILE * | _out_str | ) |
Definition at line 8569 of file ansi_c_lex.yy.cpp.
int yyansi_cwrap | ( | void | ) |
Definition at line 8695 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 623 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1101 of file ansi_c_lex.yy.cpp.
|
static |
Stack as an array.
Definition at line 511 of file ansi_c_lex.yy.cpp.
|
static |
capacity of stack.
Definition at line 510 of file ansi_c_lex.yy.cpp.
|
static |
index of top of stack.
Definition at line 509 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 533 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 3099 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1549 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 540 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1053 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 528 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 534 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4202 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4201 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1085 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 529 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1997 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 535 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4501 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4500 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4499 of file ansi_c_lex.yy.cpp.
int yyansi_c_flex_debug = 0 |
Definition at line 4205 of file ansi_c_lex.yy.cpp.
FILE * yyansi_cin = NULL |
Definition at line 587 of file ansi_c_lex.yy.cpp.
int yyansi_cleng |
Definition at line 530 of file ansi_c_lex.yy.cpp.
int yyansi_clineno = 1 |
Definition at line 592 of file ansi_c_lex.yy.cpp.
FILE * yyansi_cout = NULL |
Definition at line 419 of file ansi_c_lex.yy.cpp.
char * yyansi_ctext |
Definition at line 4214 of file ansi_c_lex.yy.cpp.