cprover
ansi_c_lex.yy.cpp File Reference
#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>
+ Include dependency graph for ansi_c_lex.yy.cpp:

Go to the source code of this file.

Classes

struct  yy_buffer_state
 
struct  yy_trans_info
 

Macros

#define YY_INT_ALIGNED   short int
 
#define yy_create_buffer   yyansi_c_create_buffer
 
#define yy_delete_buffer   yyansi_c_delete_buffer
 
#define yy_scan_buffer   yyansi_c_scan_buffer
 
#define yy_scan_string   yyansi_c_scan_string
 
#define yy_scan_bytes   yyansi_c_scan_bytes
 
#define yy_init_buffer   yyansi_c_init_buffer
 
#define yy_flush_buffer   yyansi_c_flush_buffer
 
#define yy_load_buffer_state   yyansi_c_load_buffer_state
 
#define yy_switch_to_buffer   yyansi_c_switch_to_buffer
 
#define yypush_buffer_state   yyansi_cpush_buffer_state
 
#define yypop_buffer_state   yyansi_cpop_buffer_state
 
#define yyensure_buffer_stack   yyansi_censure_buffer_stack
 
#define yy_flex_debug   yyansi_c_flex_debug
 
#define yyin   yyansi_cin
 
#define yyleng   yyansi_cleng
 
#define yylex   yyansi_clex
 
#define yylineno   yyansi_clineno
 
#define yyout   yyansi_cout
 
#define yyrestart   yyansi_crestart
 
#define yytext   yyansi_ctext
 
#define yywrap   yyansi_cwrap
 
#define yyalloc   yyansi_calloc
 
#define yyrealloc   yyansi_crealloc
 
#define yyfree   yyansi_cfree
 
#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 yyansi_c_create_buffer_ALREADY_DEFINED
 
#define yyansi_c_delete_buffer_ALREADY_DEFINED
 
#define yyansi_c_scan_buffer_ALREADY_DEFINED
 
#define yyansi_c_scan_string_ALREADY_DEFINED
 
#define yyansi_c_scan_bytes_ALREADY_DEFINED
 
#define yyansi_c_init_buffer_ALREADY_DEFINED
 
#define yyansi_c_flush_buffer_ALREADY_DEFINED
 
#define yyansi_c_load_buffer_state_ALREADY_DEFINED
 
#define yyansi_c_switch_to_buffer_ALREADY_DEFINED
 
#define yyansi_cpush_buffer_state_ALREADY_DEFINED
 
#define yyansi_cpop_buffer_state_ALREADY_DEFINED
 
#define yyansi_censure_buffer_stack_ALREADY_DEFINED
 
#define yyansi_clex_ALREADY_DEFINED
 
#define yyansi_crestart_ALREADY_DEFINED
 
#define yylex_init   yyansi_clex_init
 
#define yylex_init_extra   yyansi_clex_init_extra
 
#define yylex_destroy   yyansi_clex_destroy
 
#define yyget_debug   yyansi_cget_debug
 
#define yyset_debug   yyansi_cset_debug
 
#define yyget_extra   yyansi_cget_extra
 
#define yyset_extra   yyansi_cset_extra
 
#define yyget_in   yyansi_cget_in
 
#define yyset_in   yyansi_cset_in
 
#define yyget_out   yyansi_cget_out
 
#define yyset_out   yyansi_cset_out
 
#define yyget_leng   yyansi_cget_leng
 
#define yyget_text   yyansi_cget_text
 
#define yyget_lineno   yyansi_cget_lineno
 
#define yyset_lineno   yyansi_cset_lineno
 
#define yyansi_cwrap_ALREADY_DEFINED
 
#define yyansi_calloc_ALREADY_DEFINED
 
#define yyansi_crealloc_ALREADY_DEFINED
 
#define yyansi_cfree_ALREADY_DEFINED
 
#define yyansi_ctext_ALREADY_DEFINED
 
#define yyansi_cleng_ALREADY_DEFINED
 
#define yyansi_cin_ALREADY_DEFINED
 
#define yyansi_cout_ALREADY_DEFINED
 
#define yyansi_c_flex_debug_ALREADY_DEFINED
 
#define yyansi_clineno_ALREADY_DEFINED
 
#define FLEXINT_H
 
#define INT8_MIN   (-128)
 
#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
 
#define yynoreturn
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)   ((YY_CHAR) (c))
 
#define BEGIN   (yy_start) = 1 + 2 *
 
#define YY_START   (((yy_start) - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 
#define YY_NEW_FILE   yyrestart( yyin )
 
#define YY_END_OF_BUFFER_CHAR   0
 
#define YY_BUF_SIZE   16384
 
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 
#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)
 
#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
 
#define YY_CURRENT_BUFFER
 
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 
#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
 
#define YY_NUM_RULES   437
 
#define YY_END_OF_BUFFER   438
 
#define REJECT   reject_used_but_not_detected
 
#define yymore()   yymore_used_but_not_detected
 
#define YY_MORE_ADJ   0
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define YY_NO_INPUT   1
 
#define PARSER   ansi_c_parser
 
#define YYSTYPE   unsigned
 
#define ECHO
 
#define loc()   { newstack(yyansi_clval); PARSER.set_source_location(stack(yyansi_clval)); }
 
#define INITIAL   0
 
#define GRAMMAR   1
 
#define COMMENT1   2
 
#define COMMENT2   3
 
#define STRING_LITERAL   4
 
#define STRING_LITERAL_COMMENT   5
 
#define ASM_BLOCK   6
 
#define MSC_ASM   7
 
#define IGNORE_PARENS   8
 
#define MSC_PRAGMA   9
 
#define MSC_ANNOTATION   10
 
#define GCC_ATTRIBUTE1   11
 
#define GCC_ATTRIBUTE1a   12
 
#define GCC_ATTRIBUTE2   13
 
#define GCC_ATTRIBUTE3   14
 
#define GCC_ATTRIBUTE4   15
 
#define GCC_ATTRIBUTE5   16
 
#define GCC_ASM   17
 
#define GCC_ASM_PAREN   18
 
#define CPROVER_ID   19
 
#define YY_EXTRA_TYPE   void *
 
#define YY_READ_BUF_SIZE   8192
 
#define YY_INPUT(buf, result, max_size)
 
#define yyterminate()   return YY_NULL
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
 
#define YY_DECL_IS_OURS   1
 
#define YY_DECL   int yylex (void)
 
#define YY_USER_ACTION
 
#define YY_BREAK   /*LINTED*/break;
 
#define YY_RULE_SETUP   YY_USER_ACTION
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 
#define YYTABLES_NAME   "yytables"
 

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_stateYY_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_STATEyy_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
 

Macro Definition Documentation

◆ ASM_BLOCK

#define ASM_BLOCK   6

Definition at line 4408 of file ansi_c_lex.yy.cpp.

◆ BEGIN

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 377 of file ansi_c_lex.yy.cpp.

◆ COMMENT1

#define COMMENT1   2

Definition at line 4404 of file ansi_c_lex.yy.cpp.

◆ COMMENT2

#define COMMENT2   3

Definition at line 4405 of file ansi_c_lex.yy.cpp.

◆ CPROVER_ID

#define CPROVER_ID   19

Definition at line 4421 of file ansi_c_lex.yy.cpp.

◆ ECHO

#define ECHO

Definition at line 4248 of file ansi_c_lex.yy.cpp.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 421 of file ansi_c_lex.yy.cpp.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 422 of file ansi_c_lex.yy.cpp.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 423 of file ansi_c_lex.yy.cpp.

◆ FLEX_BETA

#define FLEX_BETA

Definition at line 39 of file ansi_c_lex.yy.cpp.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 34 of file ansi_c_lex.yy.cpp.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 289 of file ansi_c_lex.yy.cpp.

◆ GCC_ASM

#define GCC_ASM   17

Definition at line 4419 of file ansi_c_lex.yy.cpp.

◆ GCC_ASM_PAREN

#define GCC_ASM_PAREN   18

Definition at line 4420 of file ansi_c_lex.yy.cpp.

◆ GCC_ATTRIBUTE1

#define GCC_ATTRIBUTE1   11

Definition at line 4413 of file ansi_c_lex.yy.cpp.

◆ GCC_ATTRIBUTE1a

#define GCC_ATTRIBUTE1a   12

Definition at line 4414 of file ansi_c_lex.yy.cpp.

◆ GCC_ATTRIBUTE2

#define GCC_ATTRIBUTE2   13

Definition at line 4415 of file ansi_c_lex.yy.cpp.

◆ GCC_ATTRIBUTE3

#define GCC_ATTRIBUTE3   14

Definition at line 4416 of file ansi_c_lex.yy.cpp.

◆ GCC_ATTRIBUTE4

#define GCC_ATTRIBUTE4   15

Definition at line 4417 of file ansi_c_lex.yy.cpp.

◆ GCC_ATTRIBUTE5

#define GCC_ATTRIBUTE5   16

Definition at line 4418 of file ansi_c_lex.yy.cpp.

◆ GRAMMAR

#define GRAMMAR   1

Definition at line 4403 of file ansi_c_lex.yy.cpp.

◆ IGNORE_PARENS

#define IGNORE_PARENS   8

Definition at line 4410 of file ansi_c_lex.yy.cpp.

◆ INITIAL

#define INITIAL   0

Definition at line 4402 of file ansi_c_lex.yy.cpp.

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 331 of file ansi_c_lex.yy.cpp.

◆ INT16_MIN

#define INT16_MIN   (-32767-1)

Definition at line 322 of file ansi_c_lex.yy.cpp.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 334 of file ansi_c_lex.yy.cpp.

◆ INT32_MIN

#define INT32_MIN   (-2147483647-1)

Definition at line 325 of file ansi_c_lex.yy.cpp.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 328 of file ansi_c_lex.yy.cpp.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 319 of file ansi_c_lex.yy.cpp.

◆ loc

#define loc ( )    { newstack(yyansi_clval); PARSER.set_source_location(stack(yyansi_clval)); }

Definition at line 4256 of file ansi_c_lex.yy.cpp.

◆ MSC_ANNOTATION

#define MSC_ANNOTATION   10

Definition at line 4412 of file ansi_c_lex.yy.cpp.

◆ MSC_ASM

#define MSC_ASM   7

Definition at line 4409 of file ansi_c_lex.yy.cpp.

◆ MSC_PRAGMA

#define MSC_PRAGMA   9

Definition at line 4411 of file ansi_c_lex.yy.cpp.

◆ PARSER

#define PARSER   ansi_c_parser

Definition at line 4245 of file ansi_c_lex.yy.cpp.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 4210 of file ansi_c_lex.yy.cpp.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

Definition at line 347 of file ansi_c_lex.yy.cpp.

◆ STRING_LITERAL

#define STRING_LITERAL   4

Definition at line 4406 of file ansi_c_lex.yy.cpp.

◆ STRING_LITERAL_COMMENT

#define STRING_LITERAL_COMMENT   5

Definition at line 4407 of file ansi_c_lex.yy.cpp.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 340 of file ansi_c_lex.yy.cpp.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 343 of file ansi_c_lex.yy.cpp.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 337 of file ansi_c_lex.yy.cpp.

◆ unput

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

Definition at line 441 of file ansi_c_lex.yy.cpp.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 582 of file ansi_c_lex.yy.cpp.

◆ YY_BREAK

#define YY_BREAK   /*LINTED*/break;

Definition at line 4603 of file ansi_c_lex.yy.cpp.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 399 of file ansi_c_lex.yy.cpp.

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 503 of file ansi_c_lex.yy.cpp.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 491 of file ansi_c_lex.yy.cpp.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 492 of file ansi_c_lex.yy.cpp.

◆ yy_create_buffer

#define yy_create_buffer   yyansi_c_create_buffer

Definition at line 9 of file ansi_c_lex.yy.cpp.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER
Value:
: NULL)
static size_t yy_buffer_stack_top
index of top of stack.
static YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.

Definition at line 519 of file ansi_c_lex.yy.cpp.

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 525 of file ansi_c_lex.yy.cpp.

◆ YY_DECL

#define YY_DECL   int yylex (void)

Definition at line 4591 of file ansi_c_lex.yy.cpp.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

Definition at line 4587 of file ansi_c_lex.yy.cpp.

◆ yy_delete_buffer

#define yy_delete_buffer   yyansi_c_delete_buffer

Definition at line 10 of file ansi_c_lex.yy.cpp.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
(yytext_ptr) = yy_bp; \
yyleng = (int) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
static char * yy_c_buf_p
#define yytext_ptr
static char yy_hold_char

Definition at line 608 of file ansi_c_lex.yy.cpp.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   438

Definition at line 615 of file ansi_c_lex.yy.cpp.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 388 of file ansi_c_lex.yy.cpp.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

Definition at line 8478 of file ansi_c_lex.yy.cpp.

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

Definition at line 4432 of file ansi_c_lex.yy.cpp.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

Definition at line 4578 of file ansi_c_lex.yy.cpp.

◆ yy_flex_debug

#define yy_flex_debug   yyansi_c_flex_debug

Definition at line 21 of file ansi_c_lex.yy.cpp.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 35 of file ansi_c_lex.yy.cpp.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 36 of file ansi_c_lex.yy.cpp.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   4

Definition at line 37 of file ansi_c_lex.yy.cpp.

◆ yy_flush_buffer

#define yy_flush_buffer   yyansi_c_flush_buffer

Definition at line 15 of file ansi_c_lex.yy.cpp.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer( YY_CURRENT_BUFFER )

Definition at line 553 of file ansi_c_lex.yy.cpp.

◆ yy_init_buffer

#define yy_init_buffer   yyansi_c_init_buffer

Definition at line 14 of file ansi_c_lex.yy.cpp.

◆ YY_INPUT

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
int n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(yyin); \
} \
}\
\
#define yyin
size_t yy_size_t
#define YY_CURRENT_BUFFER_LVALUE

Definition at line 4531 of file ansi_c_lex.yy.cpp.

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 5 of file ansi_c_lex.yy.cpp.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO (   n)

Definition at line 425 of file ansi_c_lex.yy.cpp.

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO (   ptr)

Definition at line 426 of file ansi_c_lex.yy.cpp.

◆ yy_load_buffer_state

#define yy_load_buffer_state   yyansi_c_load_buffer_state

Definition at line 16 of file ansi_c_lex.yy.cpp.

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 4212 of file ansi_c_lex.yy.cpp.

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 563 of file ansi_c_lex.yy.cpp.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 387 of file ansi_c_lex.yy.cpp.

◆ YY_NO_INPUT

#define YY_NO_INPUT   1

Definition at line 4216 of file ansi_c_lex.yy.cpp.

◆ YY_NULL

#define YY_NULL   0

Definition at line 366 of file ansi_c_lex.yy.cpp.

◆ YY_NUM_RULES

#define YY_NUM_RULES   437

Definition at line 614 of file ansi_c_lex.yy.cpp.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 4515 of file ansi_c_lex.yy.cpp.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 4213 of file ansi_c_lex.yy.cpp.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 4606 of file ansi_c_lex.yy.cpp.

◆ YY_SC_TO_UI

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

Definition at line 371 of file ansi_c_lex.yy.cpp.

◆ yy_scan_buffer

#define yy_scan_buffer   yyansi_c_scan_buffer

Definition at line 11 of file ansi_c_lex.yy.cpp.

◆ yy_scan_bytes

#define yy_scan_bytes   yyansi_c_scan_bytes

Definition at line 13 of file ansi_c_lex.yy.cpp.

◆ yy_scan_string

#define yy_scan_string   yyansi_c_scan_string

Definition at line 12 of file ansi_c_lex.yy.cpp.

◆ 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 yyin
#define YY_BUF_SIZE
#define YY_CURRENT_BUFFER

Definition at line 573 of file ansi_c_lex.yy.cpp.

◆ 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; \
}
#define yyin
#define YY_BUF_SIZE
#define YY_CURRENT_BUFFER

Definition at line 564 of file ansi_c_lex.yy.cpp.

◆ YY_START

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

Definition at line 382 of file ansi_c_lex.yy.cpp.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 4573 of file ansi_c_lex.yy.cpp.

◆ YY_STATE_BUF_SIZE

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

Definition at line 405 of file ansi_c_lex.yy.cpp.

◆ YY_STATE_EOF

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

Definition at line 385 of file ansi_c_lex.yy.cpp.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 444 of file ansi_c_lex.yy.cpp.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   yyansi_c_switch_to_buffer

Definition at line 17 of file ansi_c_lex.yy.cpp.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 408 of file ansi_c_lex.yy.cpp.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 413 of file ansi_c_lex.yy.cpp.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 4598 of file ansi_c_lex.yy.cpp.

◆ yyalloc

#define yyalloc   yyansi_calloc

Definition at line 30 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_create_buffer_ALREADY_DEFINED

#define yyansi_c_create_buffer_ALREADY_DEFINED

Definition at line 43 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_delete_buffer_ALREADY_DEFINED

#define yyansi_c_delete_buffer_ALREADY_DEFINED

Definition at line 49 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_flex_debug_ALREADY_DEFINED

#define yyansi_c_flex_debug_ALREADY_DEFINED

Definition at line 265 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_flush_buffer_ALREADY_DEFINED

#define yyansi_c_flush_buffer_ALREADY_DEFINED

Definition at line 79 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_init_buffer_ALREADY_DEFINED

#define yyansi_c_init_buffer_ALREADY_DEFINED

Definition at line 73 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_load_buffer_state_ALREADY_DEFINED

#define yyansi_c_load_buffer_state_ALREADY_DEFINED

Definition at line 85 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_scan_buffer_ALREADY_DEFINED

#define yyansi_c_scan_buffer_ALREADY_DEFINED

Definition at line 55 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_scan_bytes_ALREADY_DEFINED

#define yyansi_c_scan_bytes_ALREADY_DEFINED

Definition at line 67 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_scan_string_ALREADY_DEFINED

#define yyansi_c_scan_string_ALREADY_DEFINED

Definition at line 61 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_switch_to_buffer_ALREADY_DEFINED

#define yyansi_c_switch_to_buffer_ALREADY_DEFINED

Definition at line 91 of file ansi_c_lex.yy.cpp.

◆ yyansi_calloc_ALREADY_DEFINED

#define yyansi_calloc_ALREADY_DEFINED

Definition at line 223 of file ansi_c_lex.yy.cpp.

◆ yyansi_censure_buffer_stack_ALREADY_DEFINED

#define yyansi_censure_buffer_stack_ALREADY_DEFINED

Definition at line 109 of file ansi_c_lex.yy.cpp.

◆ yyansi_cfree_ALREADY_DEFINED

#define yyansi_cfree_ALREADY_DEFINED

Definition at line 235 of file ansi_c_lex.yy.cpp.

◆ yyansi_cin_ALREADY_DEFINED

#define yyansi_cin_ALREADY_DEFINED

Definition at line 253 of file ansi_c_lex.yy.cpp.

◆ yyansi_cleng_ALREADY_DEFINED

#define yyansi_cleng_ALREADY_DEFINED

Definition at line 247 of file ansi_c_lex.yy.cpp.

◆ yyansi_clex_ALREADY_DEFINED

#define yyansi_clex_ALREADY_DEFINED

Definition at line 115 of file ansi_c_lex.yy.cpp.

◆ yyansi_clineno_ALREADY_DEFINED

#define yyansi_clineno_ALREADY_DEFINED

Definition at line 271 of file ansi_c_lex.yy.cpp.

◆ yyansi_cout_ALREADY_DEFINED

#define yyansi_cout_ALREADY_DEFINED

Definition at line 259 of file ansi_c_lex.yy.cpp.

◆ yyansi_cpop_buffer_state_ALREADY_DEFINED

#define yyansi_cpop_buffer_state_ALREADY_DEFINED

Definition at line 103 of file ansi_c_lex.yy.cpp.

◆ yyansi_cpush_buffer_state_ALREADY_DEFINED

#define yyansi_cpush_buffer_state_ALREADY_DEFINED

Definition at line 97 of file ansi_c_lex.yy.cpp.

◆ yyansi_crealloc_ALREADY_DEFINED

#define yyansi_crealloc_ALREADY_DEFINED

Definition at line 229 of file ansi_c_lex.yy.cpp.

◆ yyansi_crestart_ALREADY_DEFINED

#define yyansi_crestart_ALREADY_DEFINED

Definition at line 121 of file ansi_c_lex.yy.cpp.

◆ yyansi_ctext_ALREADY_DEFINED

#define yyansi_ctext_ALREADY_DEFINED

Definition at line 241 of file ansi_c_lex.yy.cpp.

◆ yyansi_cwrap_ALREADY_DEFINED

#define yyansi_cwrap_ALREADY_DEFINED

Definition at line 217 of file ansi_c_lex.yy.cpp.

◆ yyconst

#define yyconst   const

Definition at line 357 of file ansi_c_lex.yy.cpp.

◆ yyensure_buffer_stack

#define yyensure_buffer_stack   yyansi_censure_buffer_stack

Definition at line 20 of file ansi_c_lex.yy.cpp.

◆ yyfree

#define yyfree   yyansi_cfree

Definition at line 32 of file ansi_c_lex.yy.cpp.

◆ yyget_debug

#define yyget_debug   yyansi_cget_debug

Definition at line 147 of file ansi_c_lex.yy.cpp.

◆ yyget_extra

#define yyget_extra   yyansi_cget_extra

Definition at line 159 of file ansi_c_lex.yy.cpp.

◆ yyget_in

#define yyget_in   yyansi_cget_in

Definition at line 171 of file ansi_c_lex.yy.cpp.

◆ yyget_leng

#define yyget_leng   yyansi_cget_leng

Definition at line 195 of file ansi_c_lex.yy.cpp.

◆ yyget_lineno

#define yyget_lineno   yyansi_cget_lineno

Definition at line 207 of file ansi_c_lex.yy.cpp.

◆ yyget_out

#define yyget_out   yyansi_cget_out

Definition at line 183 of file ansi_c_lex.yy.cpp.

◆ yyget_text

#define yyget_text   yyansi_cget_text

Definition at line 201 of file ansi_c_lex.yy.cpp.

◆ yyin

#define yyin   yyansi_cin

Definition at line 22 of file ansi_c_lex.yy.cpp.

◆ yyleng

#define yyleng   yyansi_cleng

Definition at line 23 of file ansi_c_lex.yy.cpp.

◆ 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_cp = (yy_hold_char); \
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
static char * yy_c_buf_p
static char yy_hold_char

Definition at line 8490 of file ansi_c_lex.yy.cpp.

◆ 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 )
#define yytext
static char * yy_c_buf_p
#define yyleng
static char yy_hold_char

Definition at line 8490 of file ansi_c_lex.yy.cpp.

◆ yylex

#define yylex   yyansi_clex

Definition at line 24 of file ansi_c_lex.yy.cpp.

◆ yylex_destroy

#define yylex_destroy   yyansi_clex_destroy

Definition at line 141 of file ansi_c_lex.yy.cpp.

◆ yylex_init

#define yylex_init   yyansi_clex_init

Definition at line 129 of file ansi_c_lex.yy.cpp.

◆ yylex_init_extra

#define yylex_init_extra   yyansi_clex_init_extra

Definition at line 135 of file ansi_c_lex.yy.cpp.

◆ yylineno

#define yylineno   yyansi_clineno

Definition at line 25 of file ansi_c_lex.yy.cpp.

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

Definition at line 4211 of file ansi_c_lex.yy.cpp.

◆ yynoreturn

#define yynoreturn

Definition at line 362 of file ansi_c_lex.yy.cpp.

◆ yyout

#define yyout   yyansi_cout

Definition at line 26 of file ansi_c_lex.yy.cpp.

◆ yypop_buffer_state

#define yypop_buffer_state   yyansi_cpop_buffer_state

Definition at line 19 of file ansi_c_lex.yy.cpp.

◆ yypush_buffer_state

#define yypush_buffer_state   yyansi_cpush_buffer_state

Definition at line 18 of file ansi_c_lex.yy.cpp.

◆ yyrealloc

#define yyrealloc   yyansi_crealloc

Definition at line 31 of file ansi_c_lex.yy.cpp.

◆ yyrestart

#define yyrestart   yyansi_crestart

Definition at line 27 of file ansi_c_lex.yy.cpp.

◆ yyset_debug

#define yyset_debug   yyansi_cset_debug

Definition at line 153 of file ansi_c_lex.yy.cpp.

◆ yyset_extra

#define yyset_extra   yyansi_cset_extra

Definition at line 165 of file ansi_c_lex.yy.cpp.

◆ yyset_in

#define yyset_in   yyansi_cset_in

Definition at line 177 of file ansi_c_lex.yy.cpp.

◆ yyset_lineno

#define yyset_lineno   yyansi_cset_lineno

Definition at line 213 of file ansi_c_lex.yy.cpp.

◆ yyset_out

#define yyset_out   yyansi_cset_out

Definition at line 189 of file ansi_c_lex.yy.cpp.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 383 of file ansi_c_lex.yy.cpp.

◆ YYSTYPE

#define YYSTYPE   unsigned

Definition at line 4246 of file ansi_c_lex.yy.cpp.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

Definition at line 8690 of file ansi_c_lex.yy.cpp.

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Definition at line 4568 of file ansi_c_lex.yy.cpp.

◆ yytext

#define yytext   yyansi_ctext

Definition at line 28 of file ansi_c_lex.yy.cpp.

◆ yytext_ptr

#define yytext_ptr   yytext

Definition at line 598 of file ansi_c_lex.yy.cpp.

◆ yywrap

#define yywrap   yyansi_cwrap

Definition at line 29 of file ansi_c_lex.yy.cpp.

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 311 of file ansi_c_lex.yy.cpp.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 312 of file ansi_c_lex.yy.cpp.

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 310 of file ansi_c_lex.yy.cpp.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 314 of file ansi_c_lex.yy.cpp.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 315 of file ansi_c_lex.yy.cpp.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 313 of file ansi_c_lex.yy.cpp.

◆ YY_BUFFER_STATE

Definition at line 409 of file ansi_c_lex.yy.cpp.

◆ YY_CHAR

Definition at line 585 of file ansi_c_lex.yy.cpp.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 414 of file ansi_c_lex.yy.cpp.

◆ yy_state_type

typedef int yy_state_type

Definition at line 589 of file ansi_c_lex.yy.cpp.

Function Documentation

◆ ansi_c_scanner_init()

void ansi_c_scanner_init ( )

Definition at line 4391 of file ansi_c_lex.yy.cpp.

◆ cpp11_keyword()

int cpp11_keyword ( int  token)

Definition at line 4347 of file ansi_c_lex.yy.cpp.

◆ cpp98_keyword()

int cpp98_keyword ( int  token)

Definition at line 4336 of file ansi_c_lex.yy.cpp.

◆ cpp_operator()

int cpp_operator ( int  token)

Definition at line 4369 of file ansi_c_lex.yy.cpp.

◆ make_identifier()

int make_identifier ( )

Definition at line 4259 of file ansi_c_lex.yy.cpp.

◆ MSC_cpp_keyword()

int MSC_cpp_keyword ( int  token)

Definition at line 4358 of file ansi_c_lex.yy.cpp.

◆ MSC_Keyword()

int MSC_Keyword ( int  token)

Definition at line 4324 of file ansi_c_lex.yy.cpp.

◆ yy_fatal_error()

static void yy_fatal_error ( const char *  msg)
static

Definition at line 8481 of file ansi_c_lex.yy.cpp.

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( void  )
static

Definition at line 7819 of file ansi_c_lex.yy.cpp.

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( void  )
static

Definition at line 7957 of file ansi_c_lex.yy.cpp.

◆ yy_init_globals()

static int yy_init_globals ( void  )
static

Definition at line 8584 of file ansi_c_lex.yy.cpp.

◆ yy_pop_state()

static void yy_pop_state ( void  )
static

Definition at line 8464 of file ansi_c_lex.yy.cpp.

◆ yy_push_state()

static void yy_push_state ( int  _new_state)
static

Definition at line 8439 of file ansi_c_lex.yy.cpp.

◆ yy_top_state()

static int yy_top_state ( void  )
static

Definition at line 8472 of file ansi_c_lex.yy.cpp.

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type  current_state)
static

Definition at line 7989 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_create_buffer()

YY_BUFFER_STATE yyansi_c_create_buffer ( FILE *  file,
int  size 
)

Allocate and initialize an input buffer state.

Parameters
fileA readable stream.
sizeThe character buffer size in bytes. When in doubt, use YY_BUF_SIZE.
Returns
the allocated buffer state.

Definition at line 8157 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_delete_buffer()

void yyansi_c_delete_buffer ( YY_BUFFER_STATE  b)

Destroy the buffer.

Parameters
ba buffer created with yy_create_buffer()

Definition at line 8185 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_flush_buffer()

void yyansi_c_flush_buffer ( YY_BUFFER_STATE  b)

Discard all buffered characters.

On the next scan, YY_INPUT will be called.

Parameters
bthe buffer state to be flushed, usually YY_CURRENT_BUFFER.

Definition at line 8232 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_init_buffer()

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

Definition at line 8204 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_load_buffer_state()

static void yyansi_c_load_buffer_state ( void  )
static

Definition at line 8143 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_scan_buffer()

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.

Parameters
basethe character buffer
sizethe size in bytes of the character buffer
Returns
the newly allocated buffer state object.

Definition at line 8359 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_scan_bytes()

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.

Parameters
yybytesthe byte buffer to scan
_yybytes_lenthe number of bytes in the buffer pointed to by bytes.
Returns
the newly allocated buffer state object.

Definition at line 8409 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_scan_string()

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.

Parameters
yystra NUL-terminated string to scan
Returns
the newly allocated buffer state object.
Note
If you want to scan bytes that may contain NUL values, then use yy_scan_bytes() instead.

Definition at line 8396 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_switch_to_buffer()

void yyansi_c_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

Switch to a different input buffer.

Parameters
new_bufferThe new input buffer.

Definition at line 8112 of file ansi_c_lex.yy.cpp.

◆ yyansi_calloc()

void * yyansi_calloc ( yy_size_t  size)

Definition at line 8667 of file ansi_c_lex.yy.cpp.

◆ yyansi_censure_buffer_stack()

static void yyansi_censure_buffer_stack ( void  )
static

Definition at line 8310 of file ansi_c_lex.yy.cpp.

◆ yyansi_cfree()

void yyansi_cfree ( void *  ptr)

Definition at line 8685 of file ansi_c_lex.yy.cpp.

◆ yyansi_cget_debug()

int yyansi_cget_debug ( void  )

Definition at line 8574 of file ansi_c_lex.yy.cpp.

◆ yyansi_cget_extra()

void* yyansi_cget_extra ( void  )

◆ yyansi_cget_in()

FILE * yyansi_cget_in ( void  )

Get the input stream.

Definition at line 8518 of file ansi_c_lex.yy.cpp.

◆ yyansi_cget_leng()

int yyansi_cget_leng ( void  )

Get the length of the current token.

Definition at line 8534 of file ansi_c_lex.yy.cpp.

◆ yyansi_cget_lineno()

int yyansi_cget_lineno ( void  )

Get the current line number.

Definition at line 8509 of file ansi_c_lex.yy.cpp.

◆ yyansi_cget_out()

FILE * yyansi_cget_out ( void  )

Get the output stream.

Definition at line 8526 of file ansi_c_lex.yy.cpp.

◆ yyansi_cget_text()

char * yyansi_cget_text ( void  )

Get the current token.

Definition at line 8543 of file ansi_c_lex.yy.cpp.

◆ yyansi_clex()

int yyansi_clex ( void  )

The main scanner function which does all the work.

Definition at line 4611 of file ansi_c_lex.yy.cpp.

◆ yyansi_clex_destroy()

int yyansi_clex_destroy ( void  )

Definition at line 8617 of file ansi_c_lex.yy.cpp.

◆ yyansi_cpop_buffer_state()

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.

◆ yyansi_cpush_buffer_state()

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.

Parameters
new_bufferThe new state.

Definition at line 8261 of file ansi_c_lex.yy.cpp.

◆ yyansi_crealloc()

void * yyansi_crealloc ( void *  ptr,
yy_size_t  size 
)

Definition at line 8672 of file ansi_c_lex.yy.cpp.

◆ yyansi_crestart()

void yyansi_crestart ( FILE *  input_file)

Immediately switch to a different input stream.

Parameters
input_fileA readable stream.
Note
This function does not reset the start condition to INITIAL .

Definition at line 8095 of file ansi_c_lex.yy.cpp.

◆ yyansi_cset_debug()

void yyansi_cset_debug ( int  debug_flag)

Definition at line 8579 of file ansi_c_lex.yy.cpp.

◆ yyansi_cset_extra()

void yyansi_cset_extra ( void *  user_defined)

◆ yyansi_cset_in()

void yyansi_cset_in ( FILE *  _in_str)

Set the input stream.

This does not discard the current input buffer.

Parameters
_in_strA readable stream.
See also
yy_switch_to_buffer

Definition at line 8564 of file ansi_c_lex.yy.cpp.

◆ yyansi_cset_lineno()

void yyansi_cset_lineno ( int  _line_number)

Set the current line number.

Parameters
_line_numberline number

Definition at line 8552 of file ansi_c_lex.yy.cpp.

◆ yyansi_cset_out()

void yyansi_cset_out ( FILE *  _out_str)

Definition at line 8569 of file ansi_c_lex.yy.cpp.

◆ yyansi_cwrap()

int yyansi_cwrap ( void  )

Definition at line 8695 of file ansi_c_lex.yy.cpp.

Variable Documentation

◆ yy_accept

const flex_int16_t yy_accept[3881]
static

Definition at line 623 of file ansi_c_lex.yy.cpp.

◆ yy_base

const flex_int16_t yy_base[4037]
static

Definition at line 1101 of file ansi_c_lex.yy.cpp.

◆ yy_buffer_stack

YY_BUFFER_STATE* yy_buffer_stack = NULL
static

Stack as an array.

Definition at line 511 of file ansi_c_lex.yy.cpp.

◆ yy_buffer_stack_max

size_t yy_buffer_stack_max = 0
static

capacity of stack.

Definition at line 510 of file ansi_c_lex.yy.cpp.

◆ yy_buffer_stack_top

size_t yy_buffer_stack_top = 0
static

index of top of stack.

Definition at line 509 of file ansi_c_lex.yy.cpp.

◆ yy_c_buf_p

char* yy_c_buf_p = NULL
static

Definition at line 533 of file ansi_c_lex.yy.cpp.

◆ yy_chk

const flex_int16_t yy_chk[9988]
static

Definition at line 3099 of file ansi_c_lex.yy.cpp.

◆ yy_def

const flex_int16_t yy_def[4037]
static

Definition at line 1549 of file ansi_c_lex.yy.cpp.

◆ yy_did_buffer_switch_on_eof

int yy_did_buffer_switch_on_eof
static

Definition at line 540 of file ansi_c_lex.yy.cpp.

◆ yy_ec

const YY_CHAR yy_ec[256]
static

Definition at line 1053 of file ansi_c_lex.yy.cpp.

◆ yy_hold_char

char yy_hold_char
static

Definition at line 528 of file ansi_c_lex.yy.cpp.

◆ yy_init

int yy_init = 0
static

Definition at line 534 of file ansi_c_lex.yy.cpp.

◆ yy_last_accepting_cpos

char* yy_last_accepting_cpos
static

Definition at line 4202 of file ansi_c_lex.yy.cpp.

◆ yy_last_accepting_state

yy_state_type yy_last_accepting_state
static

Definition at line 4201 of file ansi_c_lex.yy.cpp.

◆ yy_meta

const YY_CHAR yy_meta[109]
static
Initial value:
=
{ 0,
1, 1, 2, 1, 1, 1, 1, 3, 1, 1,
4, 1, 1, 5, 1, 1, 1, 6, 5, 7,
7, 7, 7, 7, 7, 7, 7, 7, 7, 1,
1, 1, 1, 1, 7, 7, 7, 7, 7, 7,
3, 3, 8, 8, 8, 3, 3, 9, 3, 3,
3, 3, 8, 3, 3, 1, 3, 1, 10, 3,
7, 7, 7, 7, 7, 7, 3, 3, 8, 8,
3, 8, 3, 3, 3, 9, 3, 3, 3, 3,
8, 3, 3, 3, 3, 3, 10, 1, 11, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3
}

Definition at line 1085 of file ansi_c_lex.yy.cpp.

◆ yy_n_chars

int yy_n_chars
static

Definition at line 529 of file ansi_c_lex.yy.cpp.

◆ yy_nxt

const flex_int16_t yy_nxt[9988]
static

Definition at line 1997 of file ansi_c_lex.yy.cpp.

◆ yy_start

int yy_start = 0
static

Definition at line 535 of file ansi_c_lex.yy.cpp.

◆ yy_start_stack

int* yy_start_stack = NULL
static

Definition at line 4501 of file ansi_c_lex.yy.cpp.

◆ yy_start_stack_depth

int yy_start_stack_depth = 0
static

Definition at line 4500 of file ansi_c_lex.yy.cpp.

◆ yy_start_stack_ptr

int yy_start_stack_ptr = 0
static

Definition at line 4499 of file ansi_c_lex.yy.cpp.

◆ yyansi_c_flex_debug

int yyansi_c_flex_debug = 0

Definition at line 4205 of file ansi_c_lex.yy.cpp.

◆ yyansi_cin

FILE * yyansi_cin = NULL

Definition at line 587 of file ansi_c_lex.yy.cpp.

◆ yyansi_cleng

int yyansi_cleng

Definition at line 530 of file ansi_c_lex.yy.cpp.

◆ yyansi_clineno

int yyansi_clineno = 1

Definition at line 592 of file ansi_c_lex.yy.cpp.

◆ yyansi_cout

FILE * yyansi_cout = NULL

Definition at line 587 of file ansi_c_lex.yy.cpp.

◆ yyansi_ctext

char * yyansi_ctext

Definition at line 4214 of file ansi_c_lex.yy.cpp.