FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
hecmw_ablex.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include "hecmw_ablex.h"
#include "hecmw_util.h"
#include <unistd.h>
Include dependency graph for hecmw_ablex.c:

Go to the source code of this file.

Data Structures

struct  yy_buffer_state
 
struct  yy_trans_info
 
union  YYSTYPE
 

Macros

#define YY_INT_ALIGNED   short int
 
#define yy_create_buffer   HECMW_ab_create_buffer
 
#define yy_delete_buffer   HECMW_ab_delete_buffer
 
#define yy_flex_debug   HECMW_ab_flex_debug
 
#define yy_init_buffer   HECMW_ab_init_buffer
 
#define yy_flush_buffer   HECMW_ab_flush_buffer
 
#define yy_load_buffer_state   HECMW_ab_load_buffer_state
 
#define yy_switch_to_buffer   HECMW_ab_switch_to_buffer
 
#define yyin   HECMW_abin
 
#define yyleng   HECMW_ableng
 
#define yylex   HECMW_ablex
 
#define yylineno   HECMW_ablineno
 
#define yyout   HECMW_about
 
#define yyrestart   HECMW_abrestart
 
#define yytext   HECMW_abtext
 
#define yywrap   HECMW_abwrap
 
#define yyalloc   HECMW_aballoc
 
#define yyrealloc   HECMW_abrealloc
 
#define yyfree   HECMW_abfree
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   5
 
#define YY_FLEX_SUBMINOR_VERSION   35
 
#define FLEX_BETA
 
#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 yyconst
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)   ((unsigned int)(unsigned 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   HECMW_abrestart(HECMW_abin)
 
#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 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    ((yy_buffer_stack) ? (yy_buffer_stack)[(yy_buffer_stack_top)] : NULL)
 
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
 
#define YY_FLUSH_BUFFER   HECMW_ab_flush_buffer(YY_CURRENT_BUFFER)
 
#define yy_new_buffer   HECMW_ab_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   HECMW_abtext
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   161
 
#define YY_END_OF_BUFFER   162
 
#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 INITIAL   0
 
#define HEADER   1
 
#define INCLUDE   2
 
#define YY_EXTRA_TYPE   void *
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   fwrite(HECMW_abtext, HECMW_ableng, 1, HECMW_about)
 
#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 HECMW_ablex(void)
 
#define YY_USER_ACTION
 
#define YY_BREAK   break;
 
#define YY_RULE_SETUP
 
#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 unsigned char YY_CHAR
 
typedef int yy_state_type
 

Functions

void HECMW_abrestart (FILE *input_file)
 
void HECMW_ab_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 
YY_BUFFER_STATE HECMW_ab_create_buffer (FILE *file, int size)
 
void HECMW_ab_delete_buffer (YY_BUFFER_STATE b)
 
void HECMW_ab_flush_buffer (YY_BUFFER_STATE b)
 
void HECMW_abpush_buffer_state (YY_BUFFER_STATE new_buffer)
 
void HECMW_abpop_buffer_state (void)
 
YY_BUFFER_STATE HECMW_ab_scan_buffer (char *base, yy_size_t size)
 
YY_BUFFER_STATE HECMW_ab_scan_string (yyconst char *yy_str)
 
YY_BUFFER_STATE HECMW_ab_scan_bytes (yyconst char *bytes, yy_size_t len)
 
void * HECMW_aballoc (yy_size_t)
 
void * HECMW_abrealloc (void *, yy_size_t)
 
void HECMW_abfree (void *)
 
int HECMW_ablex_destroy (void)
 
int HECMW_abget_debug (void)
 
void HECMW_abset_debug (int debug_flag)
 
YY_EXTRA_TYPE HECMW_abget_extra (void)
 
void HECMW_abset_extra (YY_EXTRA_TYPE user_defined)
 
FILE * HECMW_abget_in (void)
 
void HECMW_abset_in (FILE *in_str)
 
FILE * HECMW_abget_out (void)
 
void HECMW_abset_out (FILE *out_str)
 
yy_size_t HECMW_abget_leng (void)
 
char * HECMW_abget_text (void)
 
int HECMW_abget_lineno (void)
 
void HECMW_abset_lineno (int line_number)
 
int HECMW_abwrap (void)
 
int HECMW_ablex (void)
 
 if (!(yy_init))
 
 while (1)
 
int isatty (int)
 
int HECMW_ablex_get_lineno (void)
 
double HECMW_ablex_get_number (void)
 
char * HECMW_ablex_get_text (void)
 
int HECMW_ablex_is_including (void)
 
int HECMW_ablex_next_token (void)
 
int HECMW_ablex_next_token_skip (int skip_token)
 
int HECMW_ablex_set_input (FILE *fp)
 
int HECMW_ablex_skip_line (void)
 
int HECMW_ablex_switch_to_include (const char *filename)
 
int HECMW_ablex_unput_token (void)
 

Variables

yy_size_t HECMW_ableng
 
FILE * HECMW_abin = (FILE *)0
 
FILE * HECMW_about = (FILE *)0
 
int HECMW_ablineno = 1
 
char * HECMW_abtext
 
int HECMW_ab_flex_debug = 0
 
 YY_DECL
 
register char * yy_cp
 
register char * yy_bp
 
register int yy_act
 

Macro Definition Documentation

◆ BEGIN

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 143 of file hecmw_ablex.c.

◆ ECHO

#define ECHO   fwrite(HECMW_abtext, HECMW_ableng, 1, HECMW_about)

Definition at line 1211 of file hecmw_ablex.c.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 184 of file hecmw_ablex.c.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 185 of file hecmw_ablex.c.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 186 of file hecmw_ablex.c.

◆ FLEX_BETA

#define FLEX_BETA

Definition at line 31 of file hecmw_ablex.c.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 26 of file hecmw_ablex.c.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 47 of file hecmw_ablex.c.

◆ HEADER

#define HEADER   1

Definition at line 1125 of file hecmw_ablex.c.

◆ INCLUDE

#define INCLUDE   2

Definition at line 1126 of file hecmw_ablex.c.

◆ INITIAL

#define INITIAL   0

Definition at line 1124 of file hecmw_ablex.c.

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 91 of file hecmw_ablex.c.

◆ INT16_MIN

#define INT16_MIN   (-32767 - 1)

Definition at line 82 of file hecmw_ablex.c.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 94 of file hecmw_ablex.c.

◆ INT32_MIN

#define INT32_MIN   (-2147483647 - 1)

Definition at line 85 of file hecmw_ablex.c.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 88 of file hecmw_ablex.c.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 79 of file hecmw_ablex.c.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 1094 of file hecmw_ablex.c.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 100 of file hecmw_ablex.c.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 103 of file hecmw_ablex.c.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 97 of file hecmw_ablex.c.

◆ unput

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

Definition at line 202 of file hecmw_ablex.c.

◆ YY_AT_BOL

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 345 of file hecmw_ablex.c.

◆ YY_BREAK

#define YY_BREAK   break;

Definition at line 1285 of file hecmw_ablex.c.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 162 of file hecmw_ablex.c.

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 263 of file hecmw_ablex.c.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 251 of file hecmw_ablex.c.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 252 of file hecmw_ablex.c.

◆ yy_create_buffer

#define yy_create_buffer   HECMW_ab_create_buffer

Definition at line 7 of file hecmw_ablex.c.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER    ((yy_buffer_stack) ? (yy_buffer_stack)[(yy_buffer_stack_top)] : NULL)

Definition at line 278 of file hecmw_ablex.c.

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 284 of file hecmw_ablex.c.

◆ YY_DECL

#define YY_DECL   int HECMW_ablex(void)

Definition at line 1272 of file hecmw_ablex.c.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

Definition at line 1268 of file hecmw_ablex.c.

◆ yy_delete_buffer

#define yy_delete_buffer   HECMW_ab_delete_buffer

Definition at line 8 of file hecmw_ablex.c.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
register char * yy_bp
Definition: hecmw_ablex.c:1298
#define yytext_ptr
Definition: hecmw_ablex.c:360
register char * yy_cp
Definition: hecmw_ablex.c:1298
size_t yy_size_t
Definition: hecmw_ablex.c:177
yy_size_t HECMW_ableng
Definition: hecmw_ablex.c:289

Definition at line 370 of file hecmw_ablex.c.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   162

Definition at line 378 of file hecmw_ablex.c.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 158 of file hecmw_ablex.c.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

Definition at line 3495 of file hecmw_ablex.c.

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void *

Definition at line 1137 of file hecmw_ablex.c.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR (   msg)    yy_fatal_error(msg)

Definition at line 1259 of file hecmw_ablex.c.

◆ yy_flex_debug

int yy_flex_debug   HECMW_ab_flex_debug

Definition at line 9 of file hecmw_ablex.c.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 27 of file hecmw_ablex.c.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   5

Definition at line 28 of file hecmw_ablex.c.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   35

Definition at line 29 of file hecmw_ablex.c.

◆ yy_flush_buffer

#define yy_flush_buffer   HECMW_ab_flush_buffer

Definition at line 11 of file hecmw_ablex.c.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   HECMW_ab_flush_buffer(YY_CURRENT_BUFFER)

Definition at line 313 of file hecmw_ablex.c.

◆ yy_init_buffer

#define yy_init_buffer   HECMW_ab_init_buffer

Definition at line 10 of file hecmw_ablex.c.

◆ YY_INPUT

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

Definition at line 1218 of file hecmw_ablex.c.

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Definition at line 3 of file hecmw_ablex.c.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO (   n)

Definition at line 188 of file hecmw_ablex.c.

◆ yy_load_buffer_state

static void yy_load_buffer_state   HECMW_ab_load_buffer_state

Definition at line 12 of file hecmw_ablex.c.

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 1096 of file hecmw_ablex.c.

◆ yy_new_buffer

#define yy_new_buffer   HECMW_ab_create_buffer

Definition at line 323 of file hecmw_ablex.c.

◆ YY_NEW_FILE

#define YY_NEW_FILE   HECMW_abrestart(HECMW_abin)

Definition at line 156 of file hecmw_ablex.c.

◆ YY_NULL

#define YY_NULL   0

Definition at line 130 of file hecmw_ablex.c.

◆ YY_NUM_RULES

#define YY_NUM_RULES   161

Definition at line 377 of file hecmw_ablex.c.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 1203 of file hecmw_ablex.c.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 1097 of file hecmw_ablex.c.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP
Value:
if (HECMW_ableng > 0) \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
(HECMW_abtext[HECMW_ableng - 1] == '\n'); \
#define YY_USER_ACTION
Definition: hecmw_ablex.c:1280
char * HECMW_abtext
Definition: hecmw_ablex.c:1098

Definition at line 1288 of file hecmw_ablex.c.

◆ YY_SC_TO_UI

#define YY_SC_TO_UI (   c)    ((unsigned int)(unsigned char)c)

Definition at line 137 of file hecmw_ablex.c.

◆ yy_set_bol

#define yy_set_bol (   at_bol)
Value:
{ \
HECMW_abensure_buffer_stack(); \
HECMW_ab_create_buffer(HECMW_abin, YY_BUF_SIZE); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_CURRENT_BUFFER
Definition: hecmw_ablex.c:278
#define YY_BUF_SIZE
Definition: hecmw_ablex.c:162

Definition at line 335 of file hecmw_ablex.c.

◆ yy_set_interactive

#define yy_set_interactive (   is_interactive)
Value:
{ \
HECMW_abensure_buffer_stack(); \
HECMW_ab_create_buffer(HECMW_abin, YY_BUF_SIZE); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}

Definition at line 325 of file hecmw_ablex.c.

◆ YY_START

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

Definition at line 149 of file hecmw_ablex.c.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 1254 of file hecmw_ablex.c.

◆ YY_STATE_BUF_SIZE

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

Definition at line 168 of file hecmw_ablex.c.

◆ YY_STATE_EOF

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

Definition at line 153 of file hecmw_ablex.c.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 205 of file hecmw_ablex.c.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   HECMW_ab_switch_to_buffer

Definition at line 13 of file hecmw_ablex.c.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 171 of file hecmw_ablex.c.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 176 of file hecmw_ablex.c.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 1280 of file hecmw_ablex.c.

◆ yyalloc

#define yyalloc   HECMW_aballoc

Definition at line 22 of file hecmw_ablex.c.

◆ yyconst

#define yyconst

Definition at line 126 of file hecmw_ablex.c.

◆ yyfree

#define yyfree   HECMW_abfree

Definition at line 24 of file hecmw_ablex.c.

◆ yyin

FILE * yyin   HECMW_abin

Definition at line 14 of file hecmw_ablex.c.

◆ yyleng

int yyleng   HECMW_ableng

Definition at line 15 of file hecmw_ablex.c.

◆ yyless [1/2]

#define yyless (   n)
Value:
do { \
/* Undo effects of setting up HECMW_abtext. */ \
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 HECMW_abtext again */ \
} while (0)
#define YY_MORE_ADJ
Definition: hecmw_ablex.c:1096
#define YY_DO_BEFORE_ACTION
Definition: hecmw_ablex.c:370

Definition at line 3506 of file hecmw_ablex.c.

◆ yyless [2/2]

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

Definition at line 3506 of file hecmw_ablex.c.

◆ yylex

int yylex   HECMW_ablex

Definition at line 16 of file hecmw_ablex.c.

◆ yylineno

int yylineno   HECMW_ablineno

Definition at line 17 of file hecmw_ablex.c.

◆ yymore

#define yymore ( )    yymore_used_but_not_detected

Definition at line 1095 of file hecmw_ablex.c.

◆ yyout

FILE * yyout   HECMW_about

Definition at line 18 of file hecmw_ablex.c.

◆ yyrealloc

#define yyrealloc   HECMW_abrealloc

Definition at line 23 of file hecmw_ablex.c.

◆ yyrestart

#define yyrestart   HECMW_abrestart

Definition at line 19 of file hecmw_ablex.c.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 150 of file hecmw_ablex.c.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

Definition at line 3649 of file hecmw_ablex.c.

◆ yyterminate

#define yyterminate ( )    return YY_NULL

Definition at line 1249 of file hecmw_ablex.c.

◆ yytext

char * yytext   HECMW_abtext

Definition at line 20 of file hecmw_ablex.c.

◆ yytext_ptr

#define yytext_ptr   HECMW_abtext

Definition at line 360 of file hecmw_ablex.c.

◆ yywrap

int yywrap   HECMW_abwrap

Definition at line 21 of file hecmw_ablex.c.

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 70 of file hecmw_ablex.c.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 71 of file hecmw_ablex.c.

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 69 of file hecmw_ablex.c.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 73 of file hecmw_ablex.c.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 74 of file hecmw_ablex.c.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 72 of file hecmw_ablex.c.

◆ YY_BUFFER_STATE

Definition at line 172 of file hecmw_ablex.c.

◆ YY_CHAR

typedef unsigned char YY_CHAR

Definition at line 349 of file hecmw_ablex.c.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 177 of file hecmw_ablex.c.

◆ yy_state_type

typedef int yy_state_type

Definition at line 353 of file hecmw_ablex.c.

Function Documentation

◆ HECMW_ab_create_buffer()

YY_BUFFER_STATE HECMW_ab_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 3243 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_ab_delete_buffer()

void HECMW_ab_delete_buffer ( YY_BUFFER_STATE  b)

Destroy the buffer.

Parameters
ba buffer created with HECMW_ab_create_buffer()

Definition at line 3267 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_ab_flush_buffer()

void HECMW_ab_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 3311 of file hecmw_ablex.c.

◆ HECMW_ab_scan_buffer()

YY_BUFFER_STATE HECMW_ab_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 3423 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_ab_scan_bytes()

YY_BUFFER_STATE HECMW_ab_scan_bytes ( yyconst char *  yybytes,
yy_size_t  _yybytes_len 
)

Setup the input buffer state to scan the given bytes. The next call to HECMW_ablex() will scan from a copy of bytes.

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

Definition at line 3469 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_ab_scan_string()

YY_BUFFER_STATE HECMW_ab_scan_string ( yyconst char *  yystr)

Setup the input buffer state to scan a string. The next call to HECMW_ablex() 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 HECMW_ab_scan_bytes() instead.

Definition at line 3457 of file hecmw_ablex.c.

Here is the call graph for this function:

◆ HECMW_ab_switch_to_buffer()

void HECMW_ab_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

Switch to a different input buffer.

Parameters
new_bufferThe new input buffer.

Definition at line 3202 of file hecmw_ablex.c.

Here is the caller graph for this function:

◆ HECMW_aballoc()

void * HECMW_aballoc ( yy_size_t  size)

Definition at line 3632 of file hecmw_ablex.c.

Here is the caller graph for this function:

◆ HECMW_abfree()

void HECMW_abfree ( void *  ptr)

Definition at line 3645 of file hecmw_ablex.c.

Here is the caller graph for this function:

◆ HECMW_abget_debug()

int HECMW_abget_debug ( void  )

Definition at line 3562 of file hecmw_ablex.c.

◆ HECMW_abget_extra()

YY_EXTRA_TYPE HECMW_abget_extra ( void  )

◆ HECMW_abget_in()

FILE * HECMW_abget_in ( void  )

Get the input stream.

Definition at line 3528 of file hecmw_ablex.c.

◆ HECMW_abget_leng()

yy_size_t HECMW_abget_leng ( void  )

Get the length of the current token.

Definition at line 3538 of file hecmw_ablex.c.

◆ HECMW_abget_lineno()

int HECMW_abget_lineno ( void  )

Get the current line number.

Definition at line 3523 of file hecmw_ablex.c.

◆ HECMW_abget_out()

FILE * HECMW_abget_out ( void  )

Get the output stream.

Definition at line 3533 of file hecmw_ablex.c.

◆ HECMW_abget_text()

char * HECMW_abget_text ( void  )

Get the current token.

Definition at line 3544 of file hecmw_ablex.c.

◆ HECMW_ablex()

int HECMW_ablex ( void  )
Here is the caller graph for this function:

◆ HECMW_ablex_destroy()

int HECMW_ablex_destroy ( void  )

Definition at line 3591 of file hecmw_ablex.c.

Here is the call graph for this function:

◆ HECMW_ablex_get_lineno()

int HECMW_ablex_get_lineno ( void  )

Definition at line 3655 of file hecmw_ablex.c.

◆ HECMW_ablex_get_number()

double HECMW_ablex_get_number ( void  )

Definition at line 3659 of file hecmw_ablex.c.

◆ HECMW_ablex_get_text()

char * HECMW_ablex_get_text ( void  )

Definition at line 3661 of file hecmw_ablex.c.

◆ HECMW_ablex_is_including()

int HECMW_ablex_is_including ( void  )

Definition at line 3663 of file hecmw_ablex.c.

◆ HECMW_ablex_next_token()

int HECMW_ablex_next_token ( void  )

Definition at line 3665 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_ablex_next_token_skip()

int HECMW_ablex_next_token_skip ( int  skip_token)

Definition at line 3667 of file hecmw_ablex.c.

Here is the call graph for this function:

◆ HECMW_ablex_set_input()

int HECMW_ablex_set_input ( FILE *  fp)

Definition at line 3677 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_ablex_skip_line()

int HECMW_ablex_skip_line ( void  )

Definition at line 3694 of file hecmw_ablex.c.

Here is the call graph for this function:

◆ HECMW_ablex_switch_to_include()

int HECMW_ablex_switch_to_include ( const char *  filename)

Definition at line 3704 of file hecmw_ablex.c.

Here is the call graph for this function:

◆ HECMW_ablex_unput_token()

int HECMW_ablex_unput_token ( void  )

Definition at line 3726 of file hecmw_ablex.c.

Here is the caller graph for this function:

◆ HECMW_abpop_buffer_state()

void HECMW_abpop_buffer_state ( void  )

Removes and deletes the top of the stack, if present. The next element becomes the new top.

Definition at line 3360 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_abpush_buffer_state()

void HECMW_abpush_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 3334 of file hecmw_ablex.c.

◆ HECMW_abrealloc()

void * HECMW_abrealloc ( void *  ptr,
yy_size_t  size 
)

Definition at line 3634 of file hecmw_ablex.c.

◆ HECMW_abrestart()

void HECMW_abrestart ( 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 3188 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_abset_debug()

void HECMW_abset_debug ( int  debug_flag)

Definition at line 3564 of file hecmw_ablex.c.

◆ HECMW_abset_extra()

void HECMW_abset_extra ( YY_EXTRA_TYPE  user_defined)

◆ HECMW_abset_in()

void HECMW_abset_in ( FILE *  in_str)

Set the input stream. This does not discard the current input buffer.

Parameters
in_strA readable stream.
See also
HECMW_ab_switch_to_buffer

Definition at line 3558 of file hecmw_ablex.c.

◆ HECMW_abset_lineno()

void HECMW_abset_lineno ( int  line_number)

Set the current line number.

Parameters
line_number

Definition at line 3550 of file hecmw_ablex.c.

◆ HECMW_abset_out()

void HECMW_abset_out ( FILE *  out_str)

Definition at line 3560 of file hecmw_ablex.c.

◆ HECMW_abwrap()

int HECMW_abwrap ( void  )

Definition at line 3746 of file hecmw_ablex.c.

Here is the caller graph for this function:

◆ if()

if ( yy_init)

Definition at line 1305 of file hecmw_ablex.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isatty()

int isatty ( int  )

◆ while()

while ( )

Definition at line 1326 of file hecmw_ablex.c.

Here is the call graph for this function:

Variable Documentation

◆ HECMW_ab_flex_debug

int HECMW_ab_flex_debug = 0

Definition at line 1089 of file hecmw_ablex.c.

◆ HECMW_abin

FILE * HECMW_abin = (FILE *)0

Definition at line 351 of file hecmw_ablex.c.

◆ HECMW_ableng

yy_size_t HECMW_ableng

Definition at line 289 of file hecmw_ablex.c.

◆ HECMW_ablineno

int HECMW_ablineno = 1

Definition at line 357 of file hecmw_ablex.c.

◆ HECMW_about

FILE * HECMW_about = (FILE *)0

Definition at line 182 of file hecmw_ablex.c.

◆ HECMW_abtext

char * HECMW_abtext

Definition at line 1098 of file hecmw_ablex.c.

◆ yy_act

register int yy_act

Definition at line 1299 of file hecmw_ablex.c.

◆ yy_bp

register char * yy_bp

Definition at line 1298 of file hecmw_ablex.c.

◆ yy_cp

register char* yy_cp

Definition at line 1298 of file hecmw_ablex.c.

◆ YY_DECL

YY_DECL
Initial value:
{
register yy_state_type yy_current_state
int yy_state_type
Definition: hecmw_ablex.c:353

The main scanner function which does all the work.

Definition at line 1296 of file hecmw_ablex.c.