Classes | Macros | Typedefs | Functions | Variables
OSParseosol.cpp File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <iostream>
#include <sstream>
#include "OSConfig.h"
#include "OSDataStructures.h"
#include "OSErrorClass.h"
#include "OSMathUtil.h"
#include "OSoLParserData.h"
#include "OSParseosol.tab.hpp"
#include "OSOption.h"
#include "OSGeneral.h"
#include <unistd.h>
Include dependency graph for OSParseosol.cpp:

Go to the source code of this file.

Classes

struct  yy_buffer_state
 
struct  yy_trans_info
 
struct  yyguts_t
 

Macros

#define YY_INT_ALIGNED   short int
 
#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 YY_TYPEDEF_YY_SCANNER_T
 
#define yyin   yyg->yyin_r
 
#define yyout   yyg->yyout_r
 
#define yyextra   yyg->yyextra_r
 
#define yyleng   yyg->yyleng_r
 
#define yytext   yyg->yytext_r
 
#define yylineno   (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
 
#define yycolumn   (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
 
#define yy_flex_debug   yyg->yy_flex_debug_r
 
#define BEGIN   yyg->yy_start = 1 + 2 *
 
#define YY_START   ((yyg->yy_start - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
 
#define YY_NEW_FILE   osolrestart(yyin ,yyscanner )
 
#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 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, yyg->yytext_ptr , yyscanner )
 
#define YY_TYPEDEF_YY_SIZE_T
 
#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   yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
 
#define YY_FLUSH_BUFFER   osol_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
 
#define yy_new_buffer   osol_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 osolwrap(n)   1
 
#define YY_SKIP_YYWRAP
 
#define yytext_ptr   yytext_r
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   513
 
#define YY_END_OF_BUFFER   514
 
#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_PRINT
 
#define YY_EXTRA_TYPE   OSoLParserData*
 
#define INITIAL   0
 
#define osolattributetext   1
 
#define doublequoteattributetext   2
 
#define singlequoteattributetext   3
 
#define startelement   4
 
#define elementtext   5
 
#define itemtext   6
 
#define comment   7
 
#define xmldeclaration   8
 
#define yylval   yyg->yylval_r
 
#define yylloc   yyg->yylloc_r
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
 
#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 , yyscanner)
 
#define YY_DECL_IS_OURS   1
 
#define YY_DECL
 
#define YY_USER_ACTION
 
#define YY_BREAK   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 voidyyscan_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 osolrestart (FILE *input_file, yyscan_t yyscanner)
 Immediately switch to a different input stream. More...
 
void osol_switch_to_buffer (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
 Switch to a different input buffer. More...
 
YY_BUFFER_STATE osol_create_buffer (FILE *file, int size, yyscan_t yyscanner)
 Allocate and initialize an input buffer state. More...
 
void osol_delete_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner)
 Destroy the buffer. More...
 
void osol_flush_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner)
 Discard all buffered characters. More...
 
void osolpush_buffer_state (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
 Pushes the new state onto the stack. More...
 
void osolpop_buffer_state (yyscan_t yyscanner)
 Removes and deletes the top of the stack, if present. More...
 
static void osolensure_buffer_stack (yyscan_t yyscanner)
 
static void osol_load_buffer_state (yyscan_t yyscanner)
 
static void osol_init_buffer (YY_BUFFER_STATE b, FILE *file, yyscan_t yyscanner)
 
YY_BUFFER_STATE osol_scan_buffer (char *base, yy_size_t size, yyscan_t yyscanner)
 Setup the input buffer state to scan directly from a user-specified character buffer. More...
 
YY_BUFFER_STATE osol_scan_string (yyconst char *yystr, yyscan_t yyscanner)
 Setup the input buffer state to scan a string. More...
 
YY_BUFFER_STATE osol_scan_bytes (yyconst char *yybytes, int _yybytes_len, yyscan_t yyscanner)
 Setup the input buffer state to scan the given bytes. More...
 
voidosolalloc (yy_size_t, yyscan_t yyscanner)
 
voidosolrealloc (void *, yy_size_t, yyscan_t yyscanner)
 
void osolfree (void *, yyscan_t yyscanner)
 
static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
 
static yy_state_type yy_try_NUL_trans (yy_state_type current_state, yyscan_t yyscanner)
 
static int yy_get_next_buffer (yyscan_t yyscanner)
 
static void yy_fatal_error (yyconst char msg[], yyscan_t yyscanner)
 
static int yy_init_globals (yyscan_t yyscanner)
 
int osollex_init (yyscan_t *scanner)
 
int osollex_init_extra (YY_EXTRA_TYPE user_defined, yyscan_t *scanner)
 
int osollex_destroy (yyscan_t yyscanner)
 
int osolget_debug (yyscan_t yyscanner)
 
void osolset_debug (int debug_flag, yyscan_t yyscanner)
 
YY_EXTRA_TYPE osolget_extra (yyscan_t yyscanner)
 Get the user-defined data for this scanner. More...
 
void osolset_extra (YY_EXTRA_TYPE user_defined, yyscan_t yyscanner)
 Set the user-defined data. More...
 
FILE * osolget_in (yyscan_t yyscanner)
 Get the input stream. More...
 
void osolset_in (FILE *in_str, yyscan_t yyscanner)
 Set the input stream. More...
 
FILE * osolget_out (yyscan_t yyscanner)
 Get the output stream. More...
 
void osolset_out (FILE *out_str, yyscan_t yyscanner)
 
int osolget_leng (yyscan_t yyscanner)
 Get the length of the current token. More...
 
char * osolget_text (yyscan_t yyscanner)
 Get the current token. More...
 
int osolget_lineno (yyscan_t yyscanner)
 Get the current line number. More...
 
void osolset_lineno (int line_number, yyscan_t yyscanner)
 Set the current line number. More...
 
YYSTYPEosolget_lval (yyscan_t yyscanner)
 
void osolset_lval (YYSTYPE *yylval_param, yyscan_t yyscanner)
 
YYLTYPEosolget_lloc (yyscan_t yyscanner)
 
void osolset_lloc (YYLTYPE *yylloc_param, yyscan_t yyscanner)
 
static int input (yyscan_t yyscanner)
 
int osollex (YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner)
 
 if (!yyg->yy_init)
 
 while (1)
 
int isatty (int)
 
static void yy_fatal_error (yyconst char *msg, yyscan_t yyscanner)
 
int osolget_column (yyscan_t yyscanner)
 Get the current column number. More...
 
void osolset_column (int column_no, yyscan_t yyscanner)
 Set the current column. More...
 

Variables

static yyconst flex_int16_t yy_accept [3833]
 
static yyconst flex_int32_t yy_ec [256]
 
static yyconst flex_int32_t yy_meta [67]
 
static yyconst flex_int16_t yy_base [3845]
 
static yyconst flex_int16_t yy_def [3845]
 
static yyconst flex_int16_t yy_nxt [6187]
 
static yyconst flex_int16_t yy_chk [6187]
 
static yyconst flex_int32_t yy_rule_can_match_eol [514]
 
 YY_DECL
 The main scanner function which does all the work. More...
 
register char * yy_cp
 
register char * yy_bp
 
register int yy_act
 
struct yyguts_tyyg = (struct yyguts_t*)yyscanner
 
 yylval = yylval_param
 
 yylloc = yylloc_param
 

Macro Definition Documentation

#define YY_INT_ALIGNED   short int

Definition at line 5 of file OSParseosol.cpp.

#define FLEX_SCANNER

Definition at line 9 of file OSParseosol.cpp.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 10 of file OSParseosol.cpp.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 11 of file OSParseosol.cpp.

#define YY_FLEX_SUBMINOR_VERSION   35

Definition at line 12 of file OSParseosol.cpp.

#define FLEX_BETA

Definition at line 14 of file OSParseosol.cpp.

#define FLEXINT_H

Definition at line 30 of file OSParseosol.cpp.

#define INT8_MIN   (-128)

Definition at line 60 of file OSParseosol.cpp.

#define INT16_MIN   (-32767-1)

Definition at line 63 of file OSParseosol.cpp.

#define INT32_MIN   (-2147483647-1)

Definition at line 66 of file OSParseosol.cpp.

#define INT8_MAX   (127)

Definition at line 69 of file OSParseosol.cpp.

#define INT16_MAX   (32767)

Definition at line 72 of file OSParseosol.cpp.

#define INT32_MAX   (2147483647)

Definition at line 75 of file OSParseosol.cpp.

#define UINT8_MAX   (255U)

Definition at line 78 of file OSParseosol.cpp.

#define UINT16_MAX   (65535U)

Definition at line 81 of file OSParseosol.cpp.

#define UINT32_MAX   (4294967295U)

Definition at line 84 of file OSParseosol.cpp.

#define yyconst

Definition at line 109 of file OSParseosol.cpp.

#define YY_NULL   0

Definition at line 113 of file OSParseosol.cpp.

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

Definition at line 120 of file OSParseosol.cpp.

#define YY_TYPEDEF_YY_SCANNER_T

Definition at line 124 of file OSParseosol.cpp.

#define yyin   yyg->yyin_r

Definition at line 130 of file OSParseosol.cpp.

#define yyout   yyg->yyout_r

Definition at line 131 of file OSParseosol.cpp.

#define yyextra   yyg->yyextra_r

Definition at line 132 of file OSParseosol.cpp.

#define yyleng   yyg->yyleng_r

Definition at line 133 of file OSParseosol.cpp.

#define yytext   yyg->yytext_r

Definition at line 134 of file OSParseosol.cpp.

#define yylineno   (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)

Definition at line 135 of file OSParseosol.cpp.

#define yycolumn   (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)

Definition at line 136 of file OSParseosol.cpp.

#define yy_flex_debug   yyg->yy_flex_debug_r

Definition at line 137 of file OSParseosol.cpp.

#define BEGIN   yyg->yy_start = 1 + 2 *

Definition at line 143 of file OSParseosol.cpp.

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

Definition at line 149 of file OSParseosol.cpp.

#define YYSTATE   YY_START

Definition at line 150 of file OSParseosol.cpp.

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

Definition at line 153 of file OSParseosol.cpp.

#define YY_NEW_FILE   osolrestart(yyin ,yyscanner )

Definition at line 156 of file OSParseosol.cpp.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 158 of file OSParseosol.cpp.

#define YY_BUF_SIZE   16384

Definition at line 169 of file OSParseosol.cpp.

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

Definition at line 175 of file OSParseosol.cpp.

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 178 of file OSParseosol.cpp.

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 182 of file OSParseosol.cpp.

#define EOB_ACT_END_OF_FILE   1

Definition at line 183 of file OSParseosol.cpp.

#define EOB_ACT_LAST_MATCH   2

Definition at line 184 of file OSParseosol.cpp.

#define YY_LESS_LINENO (   n)
Value:
do { \
int yyl;\
for ( yyl = n; yyl < yyleng; ++yyl )\
if ( yytext[yyl] == '\n' )\
}while(0)
#define yylineno
static int
Definition: OSdtoa.cpp:2173
#define yytext
for(int i=0;i< nnz;i++)
void fint * n
#define yyleng

Definition at line 193 of file OSParseosol.cpp.

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
register char * yy_bp
#define YY_LESS_LINENO(n)
char yy_hold_char
#define YY_MORE_ADJ
char * yy_c_buf_p
#define YY_DO_BEFORE_ACTION
register char * yy_cp
static int
Definition: OSdtoa.cpp:2173
while(1)
void fint * n
struct yyguts_t * yyg

Definition at line 7476 of file OSParseosol.cpp.

#define unput (   c)    yyunput( c, yyg->yytext_ptr , yyscanner )

Definition at line 215 of file OSParseosol.cpp.

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 218 of file OSParseosol.cpp.

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 223 of file OSParseosol.cpp.

#define YY_BUFFER_NEW   0

Definition at line 270 of file OSParseosol.cpp.

#define YY_BUFFER_NORMAL   1

Definition at line 271 of file OSParseosol.cpp.

#define YY_BUFFER_EOF_PENDING   2

Definition at line 282 of file OSParseosol.cpp.

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

Definition at line 293 of file OSParseosol.cpp.

#define YY_CURRENT_BUFFER_LVALUE   yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]

Definition at line 300 of file OSParseosol.cpp.

#define YY_FLUSH_BUFFER   osol_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)

Definition at line 314 of file OSParseosol.cpp.

#define yy_new_buffer   osol_create_buffer

Definition at line 324 of file OSParseosol.cpp.

#define yy_set_interactive (   is_interactive)
Value:
{ \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
#define YY_CURRENT_BUFFER
if(!yyg->yy_init)
#define YY_BUF_SIZE
static void osolensure_buffer_stack(yyscan_t yyscanner)
#define yyin
YY_BUFFER_STATE osol_create_buffer(FILE *file, int size, yyscan_t yyscanner)
Allocate and initialize an input buffer state.
#define YY_CURRENT_BUFFER_LVALUE

Definition at line 326 of file OSParseosol.cpp.

#define yy_set_bol (   at_bol)
Value:
{ \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_CURRENT_BUFFER
if(!yyg->yy_init)
#define YY_BUF_SIZE
static void osolensure_buffer_stack(yyscan_t yyscanner)
#define yyin
YY_BUFFER_STATE osol_create_buffer(FILE *file, int size, yyscan_t yyscanner)
Allocate and initialize an input buffer state.
#define YY_CURRENT_BUFFER_LVALUE

Definition at line 336 of file OSParseosol.cpp.

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 346 of file OSParseosol.cpp.

#define osolwrap (   n)    1

Definition at line 350 of file OSParseosol.cpp.

#define YY_SKIP_YYWRAP

Definition at line 351 of file OSParseosol.cpp.

#define yytext_ptr   yytext_r

Definition at line 357 of file OSParseosol.cpp.

#define YY_DO_BEFORE_ACTION
Value:
yyg->yytext_ptr = yy_bp; \
yyleng = (size_t) (yy_cp - yy_bp); \
*yy_cp = '\0'; \
register char * yy_bp
char yy_hold_char
char * yy_c_buf_p
register char * yy_cp
struct yyguts_t * yyg
#define yyleng

Definition at line 367 of file OSParseosol.cpp.

#define YY_NUM_RULES   513

Definition at line 374 of file OSParseosol.cpp.

#define YY_END_OF_BUFFER   514

Definition at line 375 of file OSParseosol.cpp.

#define REJECT   reject_used_but_not_detected

Definition at line 3107 of file OSParseosol.cpp.

#define yymore ( )    yymore_used_but_not_detected

Definition at line 3108 of file OSParseosol.cpp.

#define YY_MORE_ADJ   0

Definition at line 3109 of file OSParseosol.cpp.

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 3110 of file OSParseosol.cpp.

#define YY_PRINT

Definition at line 3139 of file OSParseosol.cpp.

#define YY_EXTRA_TYPE   OSoLParserData*

Definition at line 3217 of file OSParseosol.cpp.

#define INITIAL   0

Definition at line 3220 of file OSParseosol.cpp.

#define osolattributetext   1

Definition at line 3221 of file OSParseosol.cpp.

#define doublequoteattributetext   2

Definition at line 3222 of file OSParseosol.cpp.

#define singlequoteattributetext   3

Definition at line 3223 of file OSParseosol.cpp.

#define startelement   4

Definition at line 3224 of file OSParseosol.cpp.

#define elementtext   5

Definition at line 3225 of file OSParseosol.cpp.

#define itemtext   6

Definition at line 3226 of file OSParseosol.cpp.

#define comment   7

Definition at line 3227 of file OSParseosol.cpp.

#define xmldeclaration   8

Definition at line 3228 of file OSParseosol.cpp.

#define yylval   yyg->yylval_r

Definition at line 3284 of file OSParseosol.cpp.

#define yylloc   yyg->yylloc_r

Definition at line 3286 of file OSParseosol.cpp.

#define YY_READ_BUF_SIZE   8192

Definition at line 3365 of file OSParseosol.cpp.

#define ECHO   do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)

Definition at line 3374 of file OSParseosol.cpp.

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
size_t 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 = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(yyin); \
} \
}\
\
#define scanner
static int input(yyscan_t yyscanner)
if(!yyg->yy_init)
#define yyin
#define YY_FATAL_ERROR(msg)
static int
Definition: OSdtoa.cpp:2173
#define YY_CURRENT_BUFFER_LVALUE
while(1)
for(int i=0;i< nnz;i++)
void fint * n
real c

Definition at line 3381 of file OSParseosol.cpp.

#define yyterminate ( )    return YY_NULL

Definition at line 3418 of file OSParseosol.cpp.

#define YY_START_STACK_INCR   25

Definition at line 3423 of file OSParseosol.cpp.

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg , yyscanner)

Definition at line 3428 of file OSParseosol.cpp.

#define YY_DECL_IS_OURS   1

Definition at line 3437 of file OSParseosol.cpp.

#define YY_DECL
Value:
int osollex \
(YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
int osollex(YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner)
void * yyscan_t

Definition at line 3442 of file OSParseosol.cpp.

#define YY_USER_ACTION

Definition at line 3450 of file OSParseosol.cpp.

#define YY_BREAK   break;

Definition at line 3455 of file OSParseosol.cpp.

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 3458 of file OSParseosol.cpp.

#define YY_EXIT_FAILURE   2

Definition at line 7464 of file OSParseosol.cpp.

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
*yyg->yy_c_buf_p = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
#define YY_LESS_LINENO(n)
char yy_hold_char
char * yy_c_buf_p
static int
Definition: OSdtoa.cpp:2173
#define yytext
while(1)
void fint * n
struct yyguts_t * yyg
#define yyleng

Definition at line 7476 of file OSParseosol.cpp.

#define YYTABLES_NAME   "yytables"

Definition at line 7833 of file OSParseosol.cpp.

Typedef Documentation

typedef signed char flex_int8_t

Definition at line 51 of file OSParseosol.cpp.

typedef short int flex_int16_t

Definition at line 52 of file OSParseosol.cpp.

typedef int flex_int32_t

Definition at line 53 of file OSParseosol.cpp.

typedef unsigned char flex_uint8_t

Definition at line 54 of file OSParseosol.cpp.

typedef unsigned short int flex_uint16_t

Definition at line 55 of file OSParseosol.cpp.

typedef unsigned int flex_uint32_t

Definition at line 56 of file OSParseosol.cpp.

typedef void* yyscan_t

Definition at line 125 of file OSParseosol.cpp.

Definition at line 179 of file OSParseosol.cpp.

typedef size_t yy_size_t

Definition at line 219 of file OSParseosol.cpp.

typedef unsigned char YY_CHAR

Definition at line 353 of file OSParseosol.cpp.

typedef int yy_state_type

Definition at line 355 of file OSParseosol.cpp.

Function Documentation

void osolrestart ( FILE *  input_file,
yyscan_t  yyscanner 
)

Immediately switch to a different input stream.

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

Definition at line 7106 of file OSParseosol.cpp.

void osol_switch_to_buffer ( YY_BUFFER_STATE  new_buffer,
yyscan_t  yyscanner 
)

Switch to a different input buffer.

Parameters
new_bufferThe new input buffer.
yyscannerThe scanner object.

Definition at line 7124 of file OSParseosol.cpp.

YY_BUFFER_STATE osol_create_buffer ( FILE *  file,
int  size,
yyscan_t  yyscanner 
)

Allocate and initialize an input buffer state.

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

Definition at line 7171 of file OSParseosol.cpp.

void osol_delete_buffer ( YY_BUFFER_STATE  b,
yyscan_t  yyscanner 
)

Destroy the buffer.

Parameters
ba buffer created with osol_create_buffer()
yyscannerThe scanner object.

Definition at line 7199 of file OSParseosol.cpp.

void osol_flush_buffer ( YY_BUFFER_STATE  b,
yyscan_t  yyscanner 
)

Discard all buffered characters.

On the next scan, YY_INPUT will be called.

Parameters
bthe buffer state to be flushed, usually YY_CURRENT_BUFFER.
yyscannerThe scanner object.

Definition at line 7252 of file OSParseosol.cpp.

void osolpush_buffer_state ( YY_BUFFER_STATE  new_buffer,
yyscan_t  yyscanner 
)

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.
yyscannerThe scanner object.

Definition at line 7282 of file OSParseosol.cpp.

void osolpop_buffer_state ( yyscan_t  yyscanner)

Removes and deletes the top of the stack, if present.

The next element becomes the new top.

Parameters
yyscannerThe scanner object.

Definition at line 7313 of file OSParseosol.cpp.

static void osolensure_buffer_stack ( yyscan_t  yyscanner)
static

Definition at line 7333 of file OSParseosol.cpp.

static void osol_load_buffer_state ( yyscan_t  yyscanner)
static

Definition at line 7156 of file OSParseosol.cpp.

static void osol_init_buffer ( YY_BUFFER_STATE  b,
FILE *  file,
yyscan_t  yyscanner 
)
static

Definition at line 7223 of file OSParseosol.cpp.

YY_BUFFER_STATE osol_scan_buffer ( char *  base,
yy_size_t  size,
yyscan_t  yyscanner 
)

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
yyscannerThe scanner object.
Returns
the newly allocated buffer state object.

Definition at line 7383 of file OSParseosol.cpp.

YY_BUFFER_STATE osol_scan_string ( yyconst char *  yystr,
yyscan_t  yyscanner 
)

Setup the input buffer state to scan a string.

The next call to osollex() will scan from a copy of str.

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

Definition at line 7420 of file OSParseosol.cpp.

YY_BUFFER_STATE osol_scan_bytes ( yyconst char *  yybytes,
int  _yybytes_len,
yyscan_t  yyscanner 
)

Setup the input buffer state to scan the given bytes.

The next call to osollex() 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.
yyscannerThe scanner object.
Returns
the newly allocated buffer state object.

Definition at line 7433 of file OSParseosol.cpp.

void * osolalloc ( yy_size_t  size,
yyscan_t  yyscanner 
)

Definition at line 7811 of file OSParseosol.cpp.

void * osolrealloc ( void ptr,
yy_size_t  size,
yyscan_t  yyscanner 
)

Definition at line 7816 of file OSParseosol.cpp.

void osolfree ( void ptr,
yyscan_t  yyscanner 
)

Definition at line 7828 of file OSParseosol.cpp.

static yy_state_type yy_get_previous_state ( yyscan_t  yyscanner)
static

Definition at line 6962 of file OSParseosol.cpp.

static yy_state_type yy_try_NUL_trans ( yy_state_type  current_state,
yyscan_t  yyscanner 
)
static

Definition at line 6995 of file OSParseosol.cpp.

static int yy_get_next_buffer ( yyscan_t  yyscanner)
static

Definition at line 6827 of file OSParseosol.cpp.

static void yy_fatal_error ( yyconst char  msg[],
yyscan_t  yyscanner 
)
static
static int yy_init_globals ( yyscan_t  yyscanner)
static

Definition at line 7724 of file OSParseosol.cpp.

int osollex_init ( yyscan_t scanner)

Definition at line 7667 of file OSParseosol.cpp.

int osollex_init_extra ( YY_EXTRA_TYPE  user_defined,
yyscan_t scanner 
)

Definition at line 7696 of file OSParseosol.cpp.

int osollex_destroy ( yyscan_t  yyscanner)

Definition at line 7758 of file OSParseosol.cpp.

int osolget_debug ( yyscan_t  yyscanner)

Definition at line 7622 of file OSParseosol.cpp.

void osolset_debug ( int  debug_flag,
yyscan_t  yyscanner 
)

Definition at line 7628 of file OSParseosol.cpp.

YY_EXTRA_TYPE osolget_extra ( yyscan_t  yyscanner)

Get the user-defined data for this scanner.

Parameters
yyscannerThe scanner object.

Definition at line 7495 of file OSParseosol.cpp.

void osolset_extra ( YY_EXTRA_TYPE  user_defined,
yyscan_t  yyscanner 
)

Set the user-defined data.

This data is never touched by the scanner.

Parameters
user_definedThe data to be associated with this scanner.
yyscannerThe scanner object.

Definition at line 7568 of file OSParseosol.cpp.

FILE * osolget_in ( yyscan_t  yyscanner)

Get the input stream.

Parameters
yyscannerThe scanner object.

Definition at line 7530 of file OSParseosol.cpp.

void osolset_in ( FILE *  in_str,
yyscan_t  yyscanner 
)

Set the input stream.

This does not discard the current input buffer.

Parameters
in_strA readable stream.
yyscannerThe scanner object.
See Also
osol_switch_to_buffer

Definition at line 7610 of file OSParseosol.cpp.

FILE * osolget_out ( yyscan_t  yyscanner)

Get the output stream.

Parameters
yyscannerThe scanner object.

Definition at line 7539 of file OSParseosol.cpp.

void osolset_out ( FILE *  out_str,
yyscan_t  yyscanner 
)

Definition at line 7616 of file OSParseosol.cpp.

int osolget_leng ( yyscan_t  yyscanner)

Get the length of the current token.

Parameters
yyscannerThe scanner object.

Definition at line 7548 of file OSParseosol.cpp.

char * osolget_text ( yyscan_t  yyscanner)

Get the current token.

Parameters
yyscannerThe scanner object.

Definition at line 7558 of file OSParseosol.cpp.

int osolget_lineno ( yyscan_t  yyscanner)

Get the current line number.

Parameters
yyscannerThe scanner object.

Definition at line 7504 of file OSParseosol.cpp.

void osolset_lineno ( int  line_number,
yyscan_t  yyscanner 
)

Set the current line number.

Parameters
line_number
yyscannerThe scanner object.

Definition at line 7578 of file OSParseosol.cpp.

YYSTYPE * osolget_lval ( yyscan_t  yyscanner)

Definition at line 7636 of file OSParseosol.cpp.

void osolset_lval ( YYSTYPE yylval_param,
yyscan_t  yyscanner 
)

Definition at line 7642 of file OSParseosol.cpp.

YYLTYPE * osolget_lloc ( yyscan_t  yyscanner)

Definition at line 7648 of file OSParseosol.cpp.

void osolset_lloc ( YYLTYPE yylloc_param,
yyscan_t  yyscanner 
)

Definition at line 7654 of file OSParseosol.cpp.

static int input ( yyscan_t  yyscanner)
static

Definition at line 7023 of file OSParseosol.cpp.

int osollex ( YYSTYPE yylval_param,
YYLTYPE yylloc_param,
yyscan_t  yyscanner 
)
if ( !yyg->  yy_init)

Definition at line 3479 of file OSParseosol.cpp.

while ( )

Definition at line 3505 of file OSParseosol.cpp.

int isatty ( int  )
static void yy_fatal_error ( yyconst char *  msg,
yyscan_t  yyscanner 
)
static

Definition at line 7467 of file OSParseosol.cpp.

int osolget_column ( yyscan_t  yyscanner)

Get the current column number.

Parameters
yyscannerThe scanner object.

Definition at line 7517 of file OSParseosol.cpp.

void osolset_column ( int  column_no,
yyscan_t  yyscanner 
)

Set the current column.

Parameters
line_number
yyscannerThe scanner object.

Definition at line 7593 of file OSParseosol.cpp.

Variable Documentation

yyconst flex_int16_t yy_accept[3833]
static

Definition at line 383 of file OSParseosol.cpp.

yyconst flex_int32_t yy_ec[256]
static

Definition at line 809 of file OSParseosol.cpp.

yyconst flex_int32_t yy_meta[67]
static
Initial value:
=
{ 0,
1, 1, 1, 1, 2, 1, 3, 1, 1, 1,
1, 1, 1, 1, 4, 1, 5, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1
}

Definition at line 841 of file OSParseosol.cpp.

yyconst flex_int16_t yy_base[3845]
static

Definition at line 852 of file OSParseosol.cpp.

yyconst flex_int16_t yy_def[3845]
static

Definition at line 1279 of file OSParseosol.cpp.

yyconst flex_int16_t yy_nxt[6187]
static

Definition at line 1706 of file OSParseosol.cpp.

yyconst flex_int16_t yy_chk[6187]
static

Definition at line 2390 of file OSParseosol.cpp.

yyconst flex_int32_t yy_rule_can_match_eol[514]
static
Initial value:
=
{ 0,
1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, }

Definition at line 3075 of file OSParseosol.cpp.

YY_DECL
Initial value:
{
int yy_state_type
YY_DECL register yy_state_type yy_current_state
The main scanner function which does all the work.

The main scanner function which does all the work.

Definition at line 3464 of file OSParseosol.cpp.

register char* yy_cp

Definition at line 3466 of file OSParseosol.cpp.

register char * yy_bp

Definition at line 3466 of file OSParseosol.cpp.

register int yy_act

Definition at line 3467 of file OSParseosol.cpp.

struct yyguts_t* yyg = (struct yyguts_t*)yyscanner

Definition at line 3468 of file OSParseosol.cpp.

yylval = yylval_param

Definition at line 3475 of file OSParseosol.cpp.

yylloc = yylloc_param

Definition at line 3477 of file OSParseosol.cpp.