lex.yy.c File Reference

#include <stdio.h>
#include <cstring>
#include <iostream>
#include "../include/y.tab.h"
#include "../include/vars.h"
#include "../include/parser.h"
#include "../include/platform.h"

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   51
#define YY_END_OF_BUFFER   52
#define REJECT   reject_used_but_not_detected
#define yymore()   yymore_used_but_not_detected
#define YY_MORE_ADJ   0
#define INITIAL   0
#define YY_INPUT(buf, result, max_size)
#define YY_NO_PUSH_STATE   1
#define YY_NO_POP_STATE   1
#define YY_NO_TOP_STATE   1
#define YY_READ_BUF_SIZE   8192
#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )
#define yyterminate()   return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
#define YY_DECL   int yylex YY_PROTO(( void ))
#define YY_BREAK   break;
#define YY_RULE_SETUP   YY_USER_ACTION
#define YY_EXIT_FAILURE   2
#define yyless(n)

Typedefs

typedef yy_buffer_stateYY_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 *str))
YY_BUFFER_STATE yy_scan_bytes YY_PROTO ((yyconst char *bytes, int len))
static void *yy_flex_alloc YY_PROTO ((yy_size_t))
static void *yy_flex_realloc YY_PROTO ((void *, yy_size_t))
static void yy_flex_free YY_PROTO ((void *))
static yy_state_type yy_try_NUL_trans YY_PROTO ((yy_state_type current_state))
static void yy_fatal_error YY_PROTO ((yyconst char msg[]))
static void yyunput YY_PROTO ((int c, char *buf_ptr))
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 *str)
YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes, int len)
static void yy_fatal_error (msg)
static void * yy_flex_alloc (yy_size_t size)
static void * yy_flex_realloc (void *ptr, yy_size_t size)
static void yy_flex_free (void *ptr)
int yywrap ()

Variables

int yyleng
FILE * yyin
FILE * yyout
static YY_BUFFER_STATE yy_current_buffer = 0
static char yy_hold_char
static int yy_n_chars
int yyleng
static char * yy_c_buf_p = (char *) 0
static int yy_init = 1
static int yy_start = 0
static int yy_did_buffer_switch_on_eof
FILE * yyin = (FILE *) 0
FILE * yyout = (FILE *) 0
char * yytext
static yyconst short int yy_accept [164]
static yyconst int yy_ec [256]
static yyconst int yy_meta [47]
static yyconst short int yy_base [165]
static yyconst short int yy_def [165]
static yyconst short int yy_nxt [278]
static yyconst short int yy_chk [278]
static yy_state_type yy_last_accepting_state
static char * yy_last_accepting_cpos
char * yytext
YYSTYPE yylval
register char * yy_bp
int size

Define Documentation

#define BEGIN   yy_start = 1 + 2 *

#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )

#define EOB_ACT_CONTINUE_SCAN   0

#define EOB_ACT_END_OF_FILE   1

#define EOB_ACT_LAST_MATCH   2

#define FLEX_SCANNER

#define INITIAL   0

#define REJECT   reject_used_but_not_detected

#define unput (  )     yyunput( c, yytext_ptr )

 
#define YY_AT_BOL (  )     (yy_current_buffer->yy_at_bol)

#define YY_BREAK   break;

#define YY_BUF_SIZE   16384

#define YY_BUFFER_EOF_PENDING   2

#define YY_BUFFER_NEW   0

#define YY_BUFFER_NORMAL   1

#define YY_CURRENT_BUFFER   yy_current_buffer

#define YY_DECL   int yylex YY_PROTO(( void ))

#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;

#define YY_END_OF_BUFFER   52

#define YY_END_OF_BUFFER_CHAR   0

#define YY_EXIT_FAILURE   2

#define YY_FATAL_ERROR ( msg   )     yy_fatal_error( msg )

#define YY_FLEX_MAJOR_VERSION   2

#define YY_FLEX_MINOR_VERSION   5

#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )

#define YY_INPUT ( buf,
result,
max_size   ) 

Value:

result = -1; \
    if ( global.parser.filename!= "") {CPlatform::readFromFile(global.parser.filename, (byte*)buf, result);global.parser.filename="";} \
    if (result <= 0) \
        {  \
     \
       strcpy(buf, "sleep(10);"); \
       result = YY_NULL; \
    }

#define YY_MORE_ADJ   0

#define yy_new_buffer   yy_create_buffer

#define YY_NEW_FILE   yyrestart( yyin )

#define YY_NO_POP_STATE   1

#define YY_NO_PUSH_STATE   1

#define YY_NO_TOP_STATE   1

#define YY_NULL   0

#define YY_NUM_RULES   51

#define YY_PROTO ( proto   )     ()

#define YY_READ_BUF_SIZE   8192

#define YY_RULE_SETUP   YY_USER_ACTION

#define YY_SC_TO_UI (  )     ((unsigned int) (unsigned char) 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; \
        }

#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; \
        }

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

#define YY_START_STACK_INCR   25

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

#define yyconst

#define yyless (  ) 

Value:

do \
                { \
                /* Undo effects of setting up yytext. */ \
                yytext[yyleng] = yy_hold_char; \
                yy_c_buf_p = yytext + n - YY_MORE_ADJ; \
                yy_hold_char = *yy_c_buf_p; \
                *yy_c_buf_p = '\0'; \
                yyleng = n; \
                } \
        while ( 0 )

#define yyless (  ) 

Value:

do \
                { \
                /* Undo effects of setting up yytext. */ \
                *yy_cp = yy_hold_char; \
                yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
                YY_DO_BEFORE_ACTION; /* set up yytext again */ \
                } \
        while ( 0 )

 
#define yymore (  )     yymore_used_but_not_detected

#define YYSTATE   YY_START

 
#define yyterminate (  )     return YY_NULL

#define yytext_ptr   yytext


Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE

typedef unsigned char YY_CHAR

typedef unsigned int yy_size_t

typedef int yy_state_type


Function Documentation

static void yy_fatal_error ( msg   )  [static]

static void* yy_flex_alloc ( yy_size_t  size  )  [static]

static void yy_flex_free ( void *  ptr  )  [static]

static void* yy_flex_realloc ( void *  ptr,
yy_size_t  size 
) [static]

void yy_flush_buffer ( YY_BUFFER_STATE  b  ) 

void yy_init_buffer ( YY_BUFFER_STATE  b,
FILE *  file 
)

static void yyunput YY_PROTO ( (int c, char *buf_ptr)   )  [static]

static void yy_fatal_error YY_PROTO ( (yyconst char msg[])   )  [static]

static yy_state_type yy_try_NUL_trans YY_PROTO ( (yy_state_type current_state)   )  [static]

static void yy_flex_free YY_PROTO ( (void *)   )  [static]

static void* yy_flex_realloc YY_PROTO ( (void *, yy_size_t  )  [static]

static void* yy_flex_alloc YY_PROTO ( (yy_size_t  )  [static]

YY_BUFFER_STATE yy_scan_bytes YY_PROTO ( (yyconst char *bytes, int len)   ) 

YY_BUFFER_STATE yy_scan_string YY_PROTO ( (yyconst char *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 
)

YY_BUFFER_STATE yy_scan_bytes ( yyconst char *  bytes,
int  len 
)

YY_BUFFER_STATE yy_scan_string ( yyconst char *  str  ) 

int yywrap (  ) 


Variable Documentation

int size

yyconst short int yy_accept[164] [static]

Initial value:

    {   0,
        0,    0,   52,   50,    1,    1,   50,   50,   46,   50,
       47,   46,   49,   46,   45,   50,   45,   45,   45,   45,
       45,   45,   45,   45,   45,   45,   45,   45,   45,   45,
        1,   12,    0,   43,    0,    0,   47,   47,   47,   11,
       48,   10,   45,   44,   45,   45,   45,   45,   45,   45,
        6,   45,   45,   45,   45,    2,   45,   45,   45,   45,
       45,   45,   45,   45,   45,   45,   45,   45,   45,   45,
       45,   45,   45,   45,   45,   47,   20,   45,   45,   45,
       45,   45,   22,   45,   45,   41,   45,   45,   45,   45,
       45,   45,   17,   45,   34,   45,   45,   42,   21,   45,

       45,   45,   25,   45,   45,   45,   45,   45,   24,   13,
       14,   23,   26,   45,    4,   45,   45,   45,   38,   15,
       16,   30,   45,   45,   33,   45,   45,   45,   45,   29,
       39,    3,   36,   45,   31,   45,   45,    8,   45,   45,
       45,   45,    7,   45,   45,   27,   45,    5,   45,   45,
       45,   32,   18,   35,   28,   19,   45,   40,   45,   45,
        9,   37,    0
    }

yyconst short int yy_base[165] [static]

Initial value:

    {   0,
        0,    0,  230,  231,   45,   48,  210,   49,  231,  213,
       83,  208,  207,  206,    0,  188,   73,  186,  185,   67,
      192,  183,  189,   68,  181,   70,  174,   89,   87,   77,
      123,  231,    0,  231,    0,    0,  201,  200,   93,  231,
      231,  231,    0,  231,  173,  176,  177,  178,  185,   87,
        0,  168,  180,  165,  172,    0,  174,  179,   88,  178,
      161,  168,  164,  159,   75,  162,  168,  159,  159,  158,
      164,  157,  151,  157,  156,  173,    0,  146,   99,  150,
      149,  150,    0,  154,   96,    0,  154,  100,  153,  147,
      150,  132,    0,  141,    0,  143,  134,    0,    0,  145,

      135,  145,    0,  135,  141,  130,  126,  133,    0,    0,
        0,    0,    0,  133,    0,  135,  118,  131,    0,    0,
        0,    0,  125,  119,    0,  118,  121,  121,  119,    0,
        0,    0,    0,  113,    0,  126,  113,    0,  117,  119,
      115,  113,    0,  107,  108,    0,  118,    0,  113,  118,
      110,    0,    0,    0,    0,    0,  106,    0,  113,  102,
        0,    0,  231,  134
    }

register char* yy_bp

char* yy_c_buf_p = (char *) 0 [static]

yyconst short int yy_chk[278] [static]

YY_BUFFER_STATE yy_current_buffer = 0 [static]

yyconst short int yy_def[165] [static]

Initial value:

    {   0,
      163,    1,  163,  163,  163,  163,  163,  163,  163,  163,
      163,  163,  163,  163,  164,  163,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      163,  163,    8,  163,    8,    8,  163,  163,  163,  163,
      163,  163,  164,  163,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  163,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,

      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,  164,  164,  164,  164,  164,  164,  164,  164,
      164,  164,    0,  163
    }

int yy_did_buffer_switch_on_eof [static]

yyconst int yy_ec[256] [static]

char yy_hold_char [static]

int yy_init = 1 [static]

char* yy_last_accepting_cpos [static]

yy_state_type yy_last_accepting_state [static]

yyconst int yy_meta[47] [static]

Initial value:

    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    2,    1,    1,    1,    1,    1,
        1,    2,    1,    1,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
        2,    2,    2,    2,    2,    2
    }

int yy_n_chars [static]

yyconst short int yy_nxt[278] [static]

int yy_start = 0 [static]

FILE* yyin = (FILE *) 0

FILE* yyin

int yyleng

int yyleng

YYSTYPE yylval

FILE * yyout = (FILE *) 0

FILE * yyout

char* yytext

char* yytext


Generated on Mon Apr 21 23:27:41 2008 for BioloidControl by  doxygen 1.5.2