#include <stdio.h>#include "flexdef.h"#include "parse.h"Go to the source code of this file.
Classes | |
| struct | yy_buffer_state |
Defines | |
| #define | FLEX_SCANNER |
| #define | YY_FLEX_MAJOR_VERSION 2 |
| #define | YY_FLEX_MINOR_VERSION 5 |
| #define | yyconst |
| #define | YY_PROTO(proto) () |
| #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 yyrestart( yyin ) |
| #define | YY_END_OF_BUFFER_CHAR 0 |
| #define | YY_BUF_SIZE 16384 |
| #define | EOB_ACT_CONTINUE_SCAN 0 |
| #define | EOB_ACT_END_OF_FILE 1 |
| #define | EOB_ACT_LAST_MATCH 2 |
| #define | yyless(n) |
| #define | unput(c) yyunput( c, yytext_ptr ) |
| #define | YY_BUFFER_NEW 0 |
| #define | YY_BUFFER_NORMAL 1 |
| #define | YY_BUFFER_EOF_PENDING 2 |
| #define | YY_CURRENT_BUFFER yy_current_buffer |
| #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->yy_at_bol) |
| #define | yytext_ptr yytext |
| #define | YY_DO_BEFORE_ACTION |
| #define | YY_NUM_RULES 165 |
| #define | YY_END_OF_BUFFER 166 |
| #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 | ACTION_ECHO add_action( yytext ) |
| #define | ACTION_IFDEF(def, should_define) |
| #define | MARK_END_OF_PROLOG mark_prolog(); |
| #define | YY_DECL int flexscan() |
| #define | RETURNCHAR |
| #define | RETURNNAME |
| #define | PUT_BACK_STRING(str, start) |
| #define | CHECK_REJECT(str) |
| #define | CHECK_YYMORE(str) |
| #define | YY_STACK_USED 1 |
| #define | YY_NO_TOP_STATE 1 |
| #define | SECT2 1 |
| #define | SECT2PROLOG 2 |
| #define | SECT3 3 |
| #define | CODEBLOCK 4 |
| #define | PICKUPDEF 5 |
| #define | SC 6 |
| #define | CARETISBOL 7 |
| #define | NUM 8 |
| #define | QUOTE 9 |
| #define | FIRSTCCL 10 |
| #define | CCL 11 |
| #define | ACTION 12 |
| #define | RECOVER 13 |
| #define | COMMENT 14 |
| #define | ACTION_STRING 15 |
| #define | PERCENT_BRACE_ACTION 16 |
| #define | OPTION 17 |
| #define | LINEDIR 18 |
| #define | YY_READ_BUF_SIZE 8192 |
| #define | ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
| #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_BREAK break; |
| #define | YY_RULE_SETUP |
| #define | YY_EXIT_FAILURE 2 |
| #define | yyless(n) |
Typedefs | |
| typedef struct yy_buffer_state * | YY_BUFFER_STATE |
| typedef unsigned int | yy_size_t |
| typedef unsigned char | YY_CHAR |
| typedef int | yy_state_type |
Functions | |
| void yyrestart | YY_PROTO ((FILE *input_file)) |
| void yy_switch_to_buffer | YY_PROTO ((YY_BUFFER_STATE new_buffer)) |
| void yy_load_buffer_state | YY_PROTO ((void)) |
| YY_BUFFER_STATE yy_create_buffer | YY_PROTO ((FILE *file, int size)) |
| void yy_delete_buffer | YY_PROTO ((YY_BUFFER_STATE b)) |
| void yy_init_buffer | YY_PROTO ((YY_BUFFER_STATE b, FILE *file)) |
| YY_BUFFER_STATE yy_scan_buffer | YY_PROTO ((char *base, yy_size_t size)) |
| YY_BUFFER_STATE yy_scan_string | YY_PROTO ((yyconst char *yy_str)) |
| YY_BUFFER_STATE yy_scan_bytes | YY_PROTO ((yyconst char *bytes, int len)) |
| if (yy_init) | |
| while (1) | |
| void | yyrestart (FILE *input_file) |
| void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
| void | yy_load_buffer_state () |
| YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
| void | yy_delete_buffer (YY_BUFFER_STATE b) |
| int isatty | YY_PROTO ((int)) |
| void | yy_init_buffer (YY_BUFFER_STATE b, FILE *file) |
| void | yy_flush_buffer (YY_BUFFER_STATE b) |
| YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
| YY_BUFFER_STATE | yy_scan_string (yyconst char *yy_str) |
| YY_BUFFER_STATE | yy_scan_bytes (yyconst char *bytes, int len) |
| int | yywrap () |
| void | set_input_file (char *file) |
| void * | flex_alloc (size_t size) |
| void * | flex_realloc (void *ptr, size_t size) |
| void | flex_free (void *ptr) |
Variables | |
| int | yyleng |
| FILE * | yyin = (FILE *) 0 |
| FILE * | yyout = (FILE *) 0 |
| char * | yytext |
| YY_DECL register yy_state_type | yy_current_state |
| register char * | yy_cp |
| register char * | yy_bp |
| register int | yy_act |
| int | doing_codeblock = false |
| int | i |
| Char | nmdef [MAXLINE] |
| #define ACTION 12 |
Definition at line 1323 of file initscan.c.
| #define ACTION_ECHO add_action( yytext ) |
Definition at line 1278 of file initscan.c.
| #define ACTION_IFDEF | ( | def, | |||
| should_define | ) |
Value:
{ \
if ( should_define ) \
action_define( def, 1 ); \
}
Definition at line 1279 of file initscan.c.
| #define ACTION_STRING 15 |
Definition at line 1326 of file initscan.c.
| #define BEGIN yy_start = 1 + 2 * |
Definition at line 80 of file initscan.c.
| #define CARETISBOL 7 |
Definition at line 1317 of file initscan.c.
| #define CCL 11 |
Definition at line 1322 of file initscan.c.
| #define CHECK_REJECT | ( | str | ) |
| #define CHECK_YYMORE | ( | str | ) |
| #define CODEBLOCK 4 |
Definition at line 1314 of file initscan.c.
| #define COMMENT 14 |
Definition at line 1325 of file initscan.c.
Definition at line 1412 of file initscan.c.
| #define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 105 of file initscan.c.
| #define EOB_ACT_END_OF_FILE 1 |
Definition at line 106 of file initscan.c.
| #define EOB_ACT_LAST_MATCH 2 |
Definition at line 107 of file initscan.c.
| #define FIRSTCCL 10 |
Definition at line 1321 of file initscan.c.
| #define FLEX_SCANNER |
Definition at line 8 of file initscan.c.
| #define INITIAL 0 |
Definition at line 1244 of file initscan.c.
| #define LINEDIR 18 |
Definition at line 1330 of file initscan.c.
| #define MARK_END_OF_PROLOG mark_prolog(); |
Definition at line 1285 of file initscan.c.
| #define NUM 8 |
Definition at line 1318 of file initscan.c.
| #define OPTION 17 |
Definition at line 1329 of file initscan.c.
| #define PERCENT_BRACE_ACTION 16 |
Definition at line 1327 of file initscan.c.
| #define PICKUPDEF 5 |
Definition at line 1315 of file initscan.c.
| #define PUT_BACK_STRING | ( | str, | |||
| start | ) |
| #define QUOTE 9 |
Definition at line 1319 of file initscan.c.
| #define RECOVER 13 |
Definition at line 1324 of file initscan.c.
| #define REJECT reject_used_but_not_detected |
Definition at line 1238 of file initscan.c.
| #define RETURNCHAR |
Value:
Definition at line 1290 of file initscan.c.
| #define RETURNNAME |
| #define SC 6 |
Definition at line 1316 of file initscan.c.
| #define SECT2 1 |
Definition at line 1311 of file initscan.c.
| #define SECT2PROLOG 2 |
Definition at line 1312 of file initscan.c.
| #define SECT3 3 |
Definition at line 1313 of file initscan.c.
Definition at line 136 of file initscan.c.
| #define YY_AT_BOL | ( | ) | (yy_current_buffer->yy_at_bol) |
Definition at line 263 of file initscan.c.
| #define YY_BREAK break; |
Definition at line 1471 of file initscan.c.
| #define YY_BUF_SIZE 16384 |
Definition at line 98 of file initscan.c.
| #define YY_BUFFER_EOF_PENDING 2 |
Definition at line 199 of file initscan.c.
| #define YY_BUFFER_NEW 0 |
Definition at line 187 of file initscan.c.
| #define YY_BUFFER_NORMAL 1 |
Definition at line 188 of file initscan.c.
| #define YY_CURRENT_BUFFER yy_current_buffer |
Definition at line 208 of file initscan.c.
| #define YY_DECL int flexscan() |
Definition at line 1287 of file initscan.c.
| #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;
Definition at line 279 of file initscan.c.
| #define YY_END_OF_BUFFER 166 |
Definition at line 287 of file initscan.c.
| #define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 95 of file initscan.c.
| #define YY_EXIT_FAILURE 2 |
Definition at line 3523 of file initscan.c.
| #define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 1452 of file initscan.c.
| #define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 9 of file initscan.c.
| #define YY_FLEX_MINOR_VERSION 5 |
Definition at line 10 of file initscan.c.
| #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) |
Definition at line 237 of file initscan.c.
Value:
if ( yy_current_buffer->yy_is_interactive ) \ { \ int c = '*', 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 if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" );
Definition at line 1419 of file initscan.c.
| #define YY_MORE_ADJ 0 |
Definition at line 1240 of file initscan.c.
| #define yy_new_buffer yy_create_buffer |
Definition at line 247 of file initscan.c.
| #define YY_NEW_FILE yyrestart( yyin ) |
Definition at line 93 of file initscan.c.
| #define YY_NO_TOP_STATE 1 |
Definition at line 1310 of file initscan.c.
| #define YY_NULL 0 |
Definition at line 67 of file initscan.c.
| #define YY_NUM_RULES 165 |
Definition at line 286 of file initscan.c.
| #define YY_PROTO | ( | proto | ) | () |
Definition at line 63 of file initscan.c.
| #define YY_READ_BUF_SIZE 8192 |
Definition at line 1403 of file initscan.c.
| #define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 1241 of file initscan.c.
| #define YY_RULE_SETUP |
Value:
Definition at line 1474 of file initscan.c.
Definition at line 74 of file initscan.c.
| #define yy_set_bol | ( | at_bol | ) |
Value:
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_at_bol = at_bol; \
}
Definition at line 256 of file initscan.c.
| #define yy_set_interactive | ( | is_interactive | ) |
Value:
{ \
if ( ! yy_current_buffer ) \
yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
yy_current_buffer->yy_is_interactive = is_interactive; \
}
Definition at line 249 of file initscan.c.
| #define YY_STACK_USED 1 |
Definition at line 1309 of file initscan.c.
| #define YY_START ((yy_start - 1) / 2) |
Definition at line 86 of file initscan.c.
| #define YY_START_STACK_INCR 25 |
Definition at line 1447 of file initscan.c.
| #define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 90 of file initscan.c.
| #define yyconst |
Definition at line 56 of file initscan.c.
| #define yyless | ( | n | ) |
| #define yyless | ( | n | ) |
Value:
do \ { \ /* Undo effects of setting up yytext. */ \ *yy_cp = yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 )
Definition at line 3542 of file initscan.c.
| #define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 1239 of file initscan.c.
| #define YYSTATE YY_START |
Definition at line 87 of file initscan.c.
| #define yyterminate | ( | ) | return YY_NULL |
Definition at line 1442 of file initscan.c.
| #define yytext_ptr yytext |
Definition at line 269 of file initscan.c.
| typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 100 of file initscan.c.
| typedef unsigned char YY_CHAR |
Definition at line 265 of file initscan.c.
| typedef unsigned int yy_size_t |
Definition at line 142 of file initscan.c.
| typedef int yy_state_type |
Definition at line 267 of file initscan.c.
| void* flex_alloc | ( | size_t | size | ) |
Definition at line 3678 of file initscan.c.
| void flex_free | ( | void * | ptr | ) |
Definition at line 3691 of file initscan.c.
| void* flex_realloc | ( | void * | ptr, | |
| size_t | size | |||
| ) |
Definition at line 3684 of file initscan.c.
| if | ( | yy_init | ) |
Definition at line 1499 of file initscan.c.
| void set_input_file | ( | char * | file | ) |
Definition at line 3654 of file initscan.c.
| while | ( | 1 | ) |
Definition at line 1523 of file initscan.c.
| YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, | |
| int | size | |||
| ) |
Definition at line 3265 of file initscan.c.
| void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Definition at line 3296 of file initscan.c.
| void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Definition at line 3349 of file initscan.c.
| void yy_init_buffer | ( | YY_BUFFER_STATE | b, | |
| FILE * | file | |||
| ) |
Definition at line 3322 of file initscan.c.
| void yy_load_buffer_state | ( | ) |
Definition at line 3252 of file initscan.c.
| int isatty YY_PROTO | ( | (int) | ) |
| YY_BUFFER_STATE yy_scan_bytes YY_PROTO | ( | (yyconst char *bytes, int len) | ) |
| YY_BUFFER_STATE yy_scan_string YY_PROTO | ( | (yyconst char *yy_str) | ) |
| YY_BUFFER_STATE yy_scan_buffer YY_PROTO | ( | (char *base, yy_size_t size) | ) |
| void yy_init_buffer YY_PROTO | ( | (YY_BUFFER_STATE b, FILE *file) | ) |
| void yy_flush_buffer YY_PROTO | ( | (YY_BUFFER_STATE b) | ) |
| YY_BUFFER_STATE yy_create_buffer YY_PROTO | ( | (FILE *file, int size) | ) |
| static int input YY_PROTO | ( | (void) | ) |
| void yy_switch_to_buffer YY_PROTO | ( | (YY_BUFFER_STATE new_buffer) | ) |
| void yyrestart YY_PROTO | ( | (FILE *input_file) | ) |
| YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, | |
| yy_size_t | size | |||
| ) |
Definition at line 3380 of file initscan.c.
| YY_BUFFER_STATE yy_scan_bytes | ( | yyconst char * | bytes, | |
| int | len | |||
| ) |
Definition at line 3435 of file initscan.c.
| YY_BUFFER_STATE yy_scan_string | ( | yyconst char * | yy_str | ) |
Definition at line 3418 of file initscan.c.
| void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Definition at line 3222 of file initscan.c.
| void yyrestart | ( | FILE * | input_file | ) |
Definition at line 3207 of file initscan.c.
| int yywrap | ( | void | ) |
Definition at line 3639 of file initscan.c.
| int doing_codeblock = false |
Definition at line 1492 of file initscan.c.
| int i |
Definition at line 1493 of file initscan.c.
Definition at line 1494 of file initscan.c.
| register int yy_act |
Definition at line 1484 of file initscan.c.
| register char * yy_bp |
Definition at line 1483 of file initscan.c.
| register char* yy_cp |
Definition at line 1483 of file initscan.c.
| YY_DECL register yy_state_type yy_current_state |
Definition at line 1482 of file initscan.c.
Definition at line 266 of file initscan.c.
| int yyleng |
Definition at line 217 of file initscan.c.
Definition at line 266 of file initscan.c.
Definition at line 1242 of file initscan.c.
1.5.8