cprover
|
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <util/prefix.h>
#include <util/string_constant.h>
#include <util/suffix.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 [4187] |
static const YY_CHAR | yy_ec [256] |
static const YY_CHAR | yy_meta [109] |
static const flex_int16_t | yy_base [4389] |
static const flex_int16_t | yy_def [4389] |
static const flex_int16_t | yy_nxt [11386] |
static const flex_int16_t | yy_chk [11386] |
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 4837 of file ansi_c_lex.yy.cpp.
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 378 of file ansi_c_lex.yy.cpp.
#define COMMENT1 2 |
Definition at line 4833 of file ansi_c_lex.yy.cpp.
#define COMMENT2 3 |
Definition at line 4834 of file ansi_c_lex.yy.cpp.
#define CPROVER_ID 19 |
Definition at line 4850 of file ansi_c_lex.yy.cpp.
#define CPROVER_PRAGMA 20 |
Definition at line 4851 of file ansi_c_lex.yy.cpp.
#define ECHO |
Definition at line 4677 of file ansi_c_lex.yy.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 422 of file ansi_c_lex.yy.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 423 of file ansi_c_lex.yy.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 424 of file ansi_c_lex.yy.cpp.
#define FLEX_BETA |
Definition at line 40 of file ansi_c_lex.yy.cpp.
#define FLEX_SCANNER |
Definition at line 35 of file ansi_c_lex.yy.cpp.
#define FLEXINT_H |
Definition at line 290 of file ansi_c_lex.yy.cpp.
#define GCC_ASM 17 |
Definition at line 4848 of file ansi_c_lex.yy.cpp.
#define GCC_ASM_PAREN 18 |
Definition at line 4849 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE1 11 |
Definition at line 4842 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE1a 12 |
Definition at line 4843 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE2 13 |
Definition at line 4844 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE3 14 |
Definition at line 4845 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE4 15 |
Definition at line 4846 of file ansi_c_lex.yy.cpp.
#define GCC_ATTRIBUTE5 16 |
Definition at line 4847 of file ansi_c_lex.yy.cpp.
#define GRAMMAR 1 |
Definition at line 4832 of file ansi_c_lex.yy.cpp.
#define IGNORE_PARENS 8 |
Definition at line 4839 of file ansi_c_lex.yy.cpp.
#define INITIAL 0 |
Definition at line 4831 of file ansi_c_lex.yy.cpp.
#define INT16_MAX (32767) |
Definition at line 332 of file ansi_c_lex.yy.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 323 of file ansi_c_lex.yy.cpp.
#define INT32_MAX (2147483647) |
Definition at line 335 of file ansi_c_lex.yy.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 326 of file ansi_c_lex.yy.cpp.
#define INT8_MAX (127) |
Definition at line 329 of file ansi_c_lex.yy.cpp.
#define INT8_MIN (-128) |
Definition at line 320 of file ansi_c_lex.yy.cpp.
#define loc | ( | ) | { newstack(yyansi_clval); PARSER.set_source_location(parser_stack(yyansi_clval)); } |
Definition at line 4685 of file ansi_c_lex.yy.cpp.
#define MSC_ANNOTATION 10 |
Definition at line 4841 of file ansi_c_lex.yy.cpp.
#define MSC_ASM 7 |
Definition at line 4838 of file ansi_c_lex.yy.cpp.
#define MSC_PRAGMA 9 |
Definition at line 4840 of file ansi_c_lex.yy.cpp.
#define OTHER_PRAGMA 21 |
Definition at line 4852 of file ansi_c_lex.yy.cpp.
#define PARSER ansi_c_parser |
Definition at line 4674 of file ansi_c_lex.yy.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 4629 of file ansi_c_lex.yy.cpp.
#define SIZE_MAX (~(size_t)0) |
Definition at line 348 of file ansi_c_lex.yy.cpp.
#define STRING_LITERAL 4 |
Definition at line 4835 of file ansi_c_lex.yy.cpp.
#define STRING_LITERAL_COMMENT 5 |
Definition at line 4836 of file ansi_c_lex.yy.cpp.
#define UINT16_MAX (65535U) |
Definition at line 341 of file ansi_c_lex.yy.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 344 of file ansi_c_lex.yy.cpp.
#define UINT8_MAX (255U) |
Definition at line 338 of file ansi_c_lex.yy.cpp.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 442 of file ansi_c_lex.yy.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 583 of file ansi_c_lex.yy.cpp.
#define YY_BREAK /*LINTED*/break; |
Definition at line 5034 of file ansi_c_lex.yy.cpp.
#define YY_BUF_SIZE 16384 |
Definition at line 400 of file ansi_c_lex.yy.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 504 of file ansi_c_lex.yy.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 492 of file ansi_c_lex.yy.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 493 of file ansi_c_lex.yy.cpp.
#define yy_create_buffer yyansi_c_create_buffer |
Definition at line 10 of file ansi_c_lex.yy.cpp.
#define YY_CURRENT_BUFFER |
Definition at line 520 of file ansi_c_lex.yy.cpp.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 526 of file ansi_c_lex.yy.cpp.
#define YY_DECL int yylex (void) |
Definition at line 5022 of file ansi_c_lex.yy.cpp.
#define YY_DECL_IS_OURS 1 |
Definition at line 5018 of file ansi_c_lex.yy.cpp.
#define yy_delete_buffer yyansi_c_delete_buffer |
Definition at line 11 of file ansi_c_lex.yy.cpp.
#define YY_DO_BEFORE_ACTION |
Definition at line 609 of file ansi_c_lex.yy.cpp.
#define YY_END_OF_BUFFER 445 |
Definition at line 616 of file ansi_c_lex.yy.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 389 of file ansi_c_lex.yy.cpp.
#define YY_EXIT_FAILURE 2 |
Definition at line 8974 of file ansi_c_lex.yy.cpp.
#define YY_EXTRA_TYPE void * |
Definition at line 4863 of file ansi_c_lex.yy.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 5009 of file ansi_c_lex.yy.cpp.
#define yy_flex_debug yyansi_c_flex_debug |
Definition at line 22 of file ansi_c_lex.yy.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 36 of file ansi_c_lex.yy.cpp.
#define YY_FLEX_MINOR_VERSION 6 |
Definition at line 37 of file ansi_c_lex.yy.cpp.
#define YY_FLEX_SUBMINOR_VERSION 4 |
Definition at line 38 of file ansi_c_lex.yy.cpp.
#define yy_flush_buffer yyansi_c_flush_buffer |
Definition at line 16 of file ansi_c_lex.yy.cpp.
#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) |
Definition at line 554 of file ansi_c_lex.yy.cpp.
#define yy_init_buffer yyansi_c_init_buffer |
Definition at line 15 of file ansi_c_lex.yy.cpp.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Definition at line 4962 of file ansi_c_lex.yy.cpp.
#define YY_INT_ALIGNED short int |
Definition at line 6 of file ansi_c_lex.yy.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 426 of file ansi_c_lex.yy.cpp.
#define YY_LINENO_REWIND_TO | ( | ptr | ) |
Definition at line 427 of file ansi_c_lex.yy.cpp.
#define yy_load_buffer_state yyansi_c_load_buffer_state |
Definition at line 17 of file ansi_c_lex.yy.cpp.
#define YY_MORE_ADJ 0 |
Definition at line 4631 of file ansi_c_lex.yy.cpp.
#define yy_new_buffer yy_create_buffer |
Definition at line 564 of file ansi_c_lex.yy.cpp.
Definition at line 388 of file ansi_c_lex.yy.cpp.
#define YY_NO_INPUT 1 |
Definition at line 4635 of file ansi_c_lex.yy.cpp.
#define YY_NULL 0 |
Definition at line 367 of file ansi_c_lex.yy.cpp.
#define YY_NUM_RULES 444 |
Definition at line 615 of file ansi_c_lex.yy.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 4946 of file ansi_c_lex.yy.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 4632 of file ansi_c_lex.yy.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 5037 of file ansi_c_lex.yy.cpp.
#define YY_SC_TO_UI | ( | c | ) | ((YY_CHAR) (c)) |
Definition at line 372 of file ansi_c_lex.yy.cpp.
#define yy_scan_buffer yyansi_c_scan_buffer |
Definition at line 12 of file ansi_c_lex.yy.cpp.
#define yy_scan_bytes yyansi_c_scan_bytes |
Definition at line 14 of file ansi_c_lex.yy.cpp.
#define yy_scan_string yyansi_c_scan_string |
Definition at line 13 of file ansi_c_lex.yy.cpp.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 574 of file ansi_c_lex.yy.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 565 of file ansi_c_lex.yy.cpp.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 383 of file ansi_c_lex.yy.cpp.
#define YY_START_STACK_INCR 25 |
Definition at line 5004 of file ansi_c_lex.yy.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 406 of file ansi_c_lex.yy.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 386 of file ansi_c_lex.yy.cpp.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 445 of file ansi_c_lex.yy.cpp.
#define yy_switch_to_buffer yyansi_c_switch_to_buffer |
Definition at line 18 of file ansi_c_lex.yy.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 409 of file ansi_c_lex.yy.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 414 of file ansi_c_lex.yy.cpp.
#define YY_USER_ACTION |
Definition at line 5029 of file ansi_c_lex.yy.cpp.
#define yyalloc yyansi_calloc |
Definition at line 31 of file ansi_c_lex.yy.cpp.
#define yyansi_c_create_buffer_ALREADY_DEFINED |
Definition at line 44 of file ansi_c_lex.yy.cpp.
#define yyansi_c_delete_buffer_ALREADY_DEFINED |
Definition at line 50 of file ansi_c_lex.yy.cpp.
#define yyansi_c_flex_debug_ALREADY_DEFINED |
Definition at line 266 of file ansi_c_lex.yy.cpp.
#define yyansi_c_flush_buffer_ALREADY_DEFINED |
Definition at line 80 of file ansi_c_lex.yy.cpp.
#define yyansi_c_init_buffer_ALREADY_DEFINED |
Definition at line 74 of file ansi_c_lex.yy.cpp.
#define yyansi_c_load_buffer_state_ALREADY_DEFINED |
Definition at line 86 of file ansi_c_lex.yy.cpp.
#define yyansi_c_scan_buffer_ALREADY_DEFINED |
Definition at line 56 of file ansi_c_lex.yy.cpp.
#define yyansi_c_scan_bytes_ALREADY_DEFINED |
Definition at line 68 of file ansi_c_lex.yy.cpp.
#define yyansi_c_scan_string_ALREADY_DEFINED |
Definition at line 62 of file ansi_c_lex.yy.cpp.
#define yyansi_c_switch_to_buffer_ALREADY_DEFINED |
Definition at line 92 of file ansi_c_lex.yy.cpp.
#define yyansi_calloc_ALREADY_DEFINED |
Definition at line 224 of file ansi_c_lex.yy.cpp.
#define yyansi_censure_buffer_stack_ALREADY_DEFINED |
Definition at line 110 of file ansi_c_lex.yy.cpp.
#define yyansi_cfree_ALREADY_DEFINED |
Definition at line 236 of file ansi_c_lex.yy.cpp.
#define yyansi_cin_ALREADY_DEFINED |
Definition at line 254 of file ansi_c_lex.yy.cpp.
#define yyansi_cleng_ALREADY_DEFINED |
Definition at line 248 of file ansi_c_lex.yy.cpp.
#define yyansi_clex_ALREADY_DEFINED |
Definition at line 116 of file ansi_c_lex.yy.cpp.
#define yyansi_clineno_ALREADY_DEFINED |
Definition at line 272 of file ansi_c_lex.yy.cpp.
#define yyansi_cout_ALREADY_DEFINED |
Definition at line 260 of file ansi_c_lex.yy.cpp.
#define yyansi_cpop_buffer_state_ALREADY_DEFINED |
Definition at line 104 of file ansi_c_lex.yy.cpp.
#define yyansi_cpush_buffer_state_ALREADY_DEFINED |
Definition at line 98 of file ansi_c_lex.yy.cpp.
#define yyansi_crealloc_ALREADY_DEFINED |
Definition at line 230 of file ansi_c_lex.yy.cpp.
#define yyansi_crestart_ALREADY_DEFINED |
Definition at line 122 of file ansi_c_lex.yy.cpp.
#define yyansi_ctext_ALREADY_DEFINED |
Definition at line 242 of file ansi_c_lex.yy.cpp.
#define yyansi_cwrap_ALREADY_DEFINED |
Definition at line 218 of file ansi_c_lex.yy.cpp.
#define yyconst const |
Definition at line 358 of file ansi_c_lex.yy.cpp.
#define yyensure_buffer_stack yyansi_censure_buffer_stack |
Definition at line 21 of file ansi_c_lex.yy.cpp.
#define yyfree yyansi_cfree |
Definition at line 33 of file ansi_c_lex.yy.cpp.
#define yyget_debug yyansi_cget_debug |
Definition at line 148 of file ansi_c_lex.yy.cpp.
#define yyget_extra yyansi_cget_extra |
Definition at line 160 of file ansi_c_lex.yy.cpp.
#define yyget_in yyansi_cget_in |
Definition at line 172 of file ansi_c_lex.yy.cpp.
#define yyget_leng yyansi_cget_leng |
Definition at line 196 of file ansi_c_lex.yy.cpp.
#define yyget_lineno yyansi_cget_lineno |
Definition at line 208 of file ansi_c_lex.yy.cpp.
#define yyget_out yyansi_cget_out |
Definition at line 184 of file ansi_c_lex.yy.cpp.
#define yyget_text yyansi_cget_text |
Definition at line 202 of file ansi_c_lex.yy.cpp.
#define yyin yyansi_cin |
Definition at line 23 of file ansi_c_lex.yy.cpp.
#define yyleng yyansi_cleng |
Definition at line 24 of file ansi_c_lex.yy.cpp.
#define yyless | ( | n | ) |
Definition at line 8986 of file ansi_c_lex.yy.cpp.
#define yyless | ( | n | ) |
Definition at line 8986 of file ansi_c_lex.yy.cpp.
#define yylex yyansi_clex |
Definition at line 25 of file ansi_c_lex.yy.cpp.
#define yylex_destroy yyansi_clex_destroy |
Definition at line 142 of file ansi_c_lex.yy.cpp.
#define yylex_init yyansi_clex_init |
Definition at line 130 of file ansi_c_lex.yy.cpp.
#define yylex_init_extra yyansi_clex_init_extra |
Definition at line 136 of file ansi_c_lex.yy.cpp.
#define yylineno yyansi_clineno |
Definition at line 26 of file ansi_c_lex.yy.cpp.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 4630 of file ansi_c_lex.yy.cpp.
#define yynoreturn |
Definition at line 363 of file ansi_c_lex.yy.cpp.
#define yyout yyansi_cout |
Definition at line 27 of file ansi_c_lex.yy.cpp.
#define yypop_buffer_state yyansi_cpop_buffer_state |
Definition at line 20 of file ansi_c_lex.yy.cpp.
#define yypush_buffer_state yyansi_cpush_buffer_state |
Definition at line 19 of file ansi_c_lex.yy.cpp.
#define yyrealloc yyansi_crealloc |
Definition at line 32 of file ansi_c_lex.yy.cpp.
#define yyrestart yyansi_crestart |
Definition at line 28 of file ansi_c_lex.yy.cpp.
#define yyset_debug yyansi_cset_debug |
Definition at line 154 of file ansi_c_lex.yy.cpp.
#define yyset_extra yyansi_cset_extra |
Definition at line 166 of file ansi_c_lex.yy.cpp.
#define yyset_in yyansi_cset_in |
Definition at line 178 of file ansi_c_lex.yy.cpp.
#define yyset_lineno yyansi_cset_lineno |
Definition at line 214 of file ansi_c_lex.yy.cpp.
#define yyset_out yyansi_cset_out |
Definition at line 190 of file ansi_c_lex.yy.cpp.
#define YYSTATE YY_START |
Definition at line 384 of file ansi_c_lex.yy.cpp.
#define YYSTYPE unsigned |
Definition at line 4675 of file ansi_c_lex.yy.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 9186 of file ansi_c_lex.yy.cpp.
#define yyterminate | ( | ) | return YY_NULL |
Definition at line 4999 of file ansi_c_lex.yy.cpp.
#define yytext yyansi_ctext |
Definition at line 29 of file ansi_c_lex.yy.cpp.
#define yytext_ptr yytext |
Definition at line 599 of file ansi_c_lex.yy.cpp.
#define yywrap yyansi_cwrap |
Definition at line 30 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 4819 of file ansi_c_lex.yy.cpp.
int cpp11_keyword | ( | int | token | ) |
Definition at line 4775 of file ansi_c_lex.yy.cpp.
int cpp98_keyword | ( | int | token | ) |
Definition at line 4764 of file ansi_c_lex.yy.cpp.
int cpp_operator | ( | int | token | ) |
Definition at line 4797 of file ansi_c_lex.yy.cpp.
int make_identifier | ( | ) |
Definition at line 4687 of file ansi_c_lex.yy.cpp.
int MSC_cpp_keyword | ( | int | token | ) |
Definition at line 4786 of file ansi_c_lex.yy.cpp.
int MSC_Keyword | ( | int | token | ) |
Definition at line 4752 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8976 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8314 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8452 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 9079 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8959 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8934 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8967 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8484 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 8652 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 8680 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 8727 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8699 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8638 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 8854 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 8904 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 8891 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 8607 of file ansi_c_lex.yy.cpp.
void * yyansi_calloc | ( | yy_size_t | size | ) |
Definition at line 9162 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 8805 of file ansi_c_lex.yy.cpp.
void yyansi_cfree | ( | void * | ptr | ) |
Definition at line 9180 of file ansi_c_lex.yy.cpp.
int yyansi_cget_debug | ( | void | ) |
Definition at line 9069 of file ansi_c_lex.yy.cpp.
void* yyansi_cget_extra | ( | void | ) |
FILE * yyansi_cget_in | ( | void | ) |
Get the input stream.
Definition at line 9013 of file ansi_c_lex.yy.cpp.
int yyansi_cget_leng | ( | void | ) |
Get the length of the current token.
Definition at line 9029 of file ansi_c_lex.yy.cpp.
int yyansi_cget_lineno | ( | void | ) |
Get the current line number.
Definition at line 9004 of file ansi_c_lex.yy.cpp.
FILE * yyansi_cget_out | ( | void | ) |
Get the output stream.
Definition at line 9021 of file ansi_c_lex.yy.cpp.
char * yyansi_cget_text | ( | void | ) |
Get the current token.
Definition at line 9038 of file ansi_c_lex.yy.cpp.
int yyansi_clex | ( | void | ) |
The main scanner function which does all the work.
Definition at line 5041 of file ansi_c_lex.yy.cpp.
int yyansi_clex_destroy | ( | void | ) |
Definition at line 9112 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 8786 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 8756 of file ansi_c_lex.yy.cpp.
void * yyansi_crealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Definition at line 9167 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 8590 of file ansi_c_lex.yy.cpp.
void yyansi_cset_debug | ( | int | debug_flag | ) |
Definition at line 9074 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 9059 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 9047 of file ansi_c_lex.yy.cpp.
void yyansi_cset_out | ( | FILE * | _out_str | ) |
Definition at line 9064 of file ansi_c_lex.yy.cpp.
int yyansi_cwrap | ( | void | ) |
Definition at line 9190 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 623 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1135 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 3363 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1621 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 540 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1087 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 4620 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4619 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 1119 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 529 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 2107 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 535 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4931 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4930 of file ansi_c_lex.yy.cpp.
|
static |
Definition at line 4929 of file ansi_c_lex.yy.cpp.
int yyansi_c_flex_debug = 0 |
Definition at line 4623 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 4632 of file ansi_c_lex.yy.cpp.