"I am a person who works hard and plays hard."

Yuan Wei
Second Year Graduate Student Department of Computer Science
University of Virginia Charlottesville, VA 22903
Email: yw3f@cs.virginia.edu


Source Code Analysis

Main Page   Compound List   File List   Compound Members   File Members  

exolex.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include "../host.h"
#include "../misc.h"
#include "libexo.h"

Include dependency graph for exolex.c:

Include dependency graph

Go to the source code of this file.

Compounds

Defines

Typedefs

Functions

Variables


Define Documentation

#define BEGIN   yy_start = 1 + 2 *
 

Definition at line 79 of file exolex.c.

#define BLOB_MODE   1
 

Definition at line 513 of file exolex.c.

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

Definition at line 595 of file exolex.c.

#define EOB_ACT_CONTINUE_SCAN   0
 

Definition at line 104 of file exolex.c.

#define EOB_ACT_END_OF_FILE   1
 

Definition at line 105 of file exolex.c.

#define EOB_ACT_LAST_MATCH   2
 

Definition at line 106 of file exolex.c.

#define FLEX_SCANNER
 

Definition at line 7 of file exolex.c.

#define INITIAL   0
 

Definition at line 427 of file exolex.c.

#define MAX_STREAMS   16
 

#define REJECT   reject_used_but_not_detected
 

Definition at line 421 of file exolex.c.

#define unput      yyunput( c, yytext_ptr )
 

Definition at line 135 of file exolex.c.

 
#define YY_AT_BOL      (yy_current_buffer->yy_at_bol)
 

Definition at line 262 of file exolex.c.

#define YY_BREAK   break;
 

Definition at line 654 of file exolex.c.

#define YY_BUF_SIZE   16384
 

Definition at line 97 of file exolex.c.

#define YY_BUFFER_EOF_PENDING   2
 

Definition at line 198 of file exolex.c.

#define YY_BUFFER_NEW   0
 

Definition at line 186 of file exolex.c.

#define YY_BUFFER_NORMAL   1
 

Definition at line 187 of file exolex.c.

#define YY_CURRENT_BUFFER   yy_current_buffer
 

Definition at line 207 of file exolex.c.

#define YY_DECL   int yylex YY_PROTO(( void ))
 

Definition at line 642 of file exolex.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 278 of file exolex.c.

#define YY_END_OF_BUFFER   26
 

Definition at line 286 of file exolex.c.

#define YY_END_OF_BUFFER_CHAR   0
 

Definition at line 94 of file exolex.c.

#define YY_EXIT_FAILURE   2
 

#define YY_FATAL_ERROR msg       yy_fatal_error( msg )
 

Definition at line 635 of file exolex.c.

#define YY_FLEX_MAJOR_VERSION   2
 

Definition at line 8 of file exolex.c.

#define YY_FLEX_MINOR_VERSION   5
 

Definition at line 9 of file exolex.c.

#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )
 

Definition at line 236 of file exolex.c.

#define YY_INPUT buf,
result,
max_size   
 

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 602 of file exolex.c.

#define YY_MORE_ADJ   0
 

Definition at line 423 of file exolex.c.

#define YY_NEVER_INTERACTIVE   1
 

Definition at line 506 of file exolex.c.

#define yy_new_buffer   yy_create_buffer
 

Definition at line 246 of file exolex.c.

#define YY_NEW_FILE   yyrestart( yyin )
 

Definition at line 92 of file exolex.c.

#define YY_NO_POP_STATE   1
 

Definition at line 565 of file exolex.c.

#define YY_NO_PUSH_STATE   1
 

Definition at line 564 of file exolex.c.

#define YY_NO_TOP_STATE   1
 

Definition at line 566 of file exolex.c.

#define YY_NULL   0
 

Definition at line 66 of file exolex.c.

#define YY_NUM_RULES   25
 

Definition at line 285 of file exolex.c.

#define YY_PROTO proto       ()
 

Definition at line 62 of file exolex.c.

#define YY_READ_BUF_SIZE   8192
 

Definition at line 586 of file exolex.c.

#define YY_RESTORE_YY_MORE_OFFSET
 

Definition at line 424 of file exolex.c.

#define YY_RULE_SETUP   YY_USER_ACTION
 

Definition at line 657 of file exolex.c.

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

Definition at line 73 of file exolex.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 255 of file exolex.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 248 of file exolex.c.

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

Definition at line 85 of file exolex.c.

#define YY_START_STACK_INCR   25
 

Definition at line 630 of file exolex.c.

#define YY_STATE_EOF state       (YY_END_OF_BUFFER + state + 1)
 

Definition at line 89 of file exolex.c.

#define yyconst
 

Definition at line 55 of file exolex.c.

#define yyless  
 

Value:

do \
                { \
                  \
                yytext[yyleng] = yy_hold_char; \
                yy_c_buf_p = yytext + n; \
                yy_hold_char = *yy_c_buf_p; \
                *yy_c_buf_p = '\0'; \
                yyleng = n; \
                } \
        while ( 0 )

Definition at line 124 of file exolex.c.

#define yyless  
 

Value:

do \
                { \
                  \
                *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;   \
                } \
        while ( 0 )

Definition at line 124 of file exolex.c.

#define YYLMAX   (16*1024)
 

Definition at line 503 of file exolex.c.

 
#define yymore      yymore_used_but_not_detected
 

Definition at line 422 of file exolex.c.

#define YYSTATE   YY_START
 

Definition at line 86 of file exolex.c.

 
#define yyterminate      return YY_NULL
 

Definition at line 625 of file exolex.c.

#define yytext_ptr   yytext
 

Definition at line 268 of file exolex.c.


Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE
 

Definition at line 99 of file exolex.c.

typedef unsigned char YY_CHAR
 

Definition at line 264 of file exolex.c.

typedef unsigned int yy_size_t
 

Definition at line 141 of file exolex.c.

typedef int yy_state_type
 

Definition at line 266 of file exolex.c.


Function Documentation

void lex_eat_comment void    [static]
 

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

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

yy_state_type yy_try_NUL_trans YY_PROTO (yy_state_type current_state)    [static]
 

void yy_flex_free YY_PROTO (void *)    [static]
 

void* yy_flex_realloc YY_PROTO (void *, yy_size_t   [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 *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  
 

int input YY_PROTO (void)   
 

void yy_switch_to_buffer YY_PROTO (YY_BUFFER_STATE new_buffer)   
 

void yyrestart YY_PROTO (FILE *input_file)   
 

int yywrap void   
 


Variable Documentation

FILE* file
 

Definition at line 1456 of file exolex.c.

Referenced by fatal(), ident_evaluator(), info(), panic(), and warn().

int len
 

Definition at line 1569 of file exolex.c.

Referenced by mem_dump(), and sym_loadsyms().

unsigned line = 1
 

Definition at line 508 of file exolex.c.

Referenced by exo_err(), fatal(), info(), panic(), process_file(), and warn().

yy_size_t size
 

Definition at line 1737 of file exolex.c.

Referenced by dlite_display().

yyconst short int yy_accept[60] [static]
 

Initial value:

    {   0,
        0,    0,    0,    0,   26,   24,   22,   23,   12,   24,
       24,   16,   17,   15,   12,   24,   12,    5,    5,   20,
       11,   18,   19,   13,   14,   24,   21,   12,    0,   10,
        0,    0,    0,    0,    5,    5,    7,    2,    8,    4,
        0,    0,   11,    1,    9,    0,    7,    0,    0,    6,
        3,    0,    7,    0,    0,    8,    0,    7,    0
    }

Definition at line 287 of file exolex.c.

yyconst short int yy_base[64] [static]
 

Initial value:

    {   0,
        0,    0,   35,   60,   83,  178,  178,  178,   83,   34,
       51,  178,  178,  178,   23,   25,   46,   30,   48,  178,
        0,  178,  178,  178,  178,   50,  178,    0,   36,  178,
       49,   41,   43,   53,   83,  101,   58,    0,  103,  111,
       94,  113,    0,  178,  178,  126,  115,  133,   74,   85,
      131,  105,  124,  144,  135,  142,  146,  148,  178,  168,
      171,  174,   45
    }

Definition at line 337 of file exolex.c.

register char* yy_bp
 

Definition at line 1224 of file exolex.c.

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

Definition at line 219 of file exolex.c.

yyconst short int yy_chk[215] [static]
 

Initial value:

    {   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,    3,    3,   10,   15,
       29,   15,   15,   16,   16,   33,   18,   63,   18,   18,
       32,   31,   33,    3,    3,   18,    3,   18,   17,    3,
        3,    4,    4,   10,   19,   29,   19,   19,   26,   26,
       32,   34,   34,   19,   26,   26,   37,   37,    4,    4,
       11,    4,    5,   37,    4,    4,    9,    0,    9,    9,
        9,    9,   49,   49,    0,    9,    9,    0,    9,   35,

        9,   35,   35,   50,   50,    9,    9,   41,   35,   41,
       35,    0,   41,   41,    9,    0,    9,   36,    9,   36,
       36,   39,   39,   52,   52,    0,   36,   40,   39,   40,
       40,   42,   42,   47,   47,    0,   40,   42,   42,   46,
       47,   46,   53,   53,   46,   46,   48,    0,   48,   51,
       51,   48,   48,   55,   55,   51,   51,   54,    0,   54,
       56,   56,   54,   54,   57,   57,   58,   58,   60,   60,
       60,   61,   61,   61,   62,    0,   62,   59,   59,   59,
       59,   59,   59,   59,   59,   59,   59,   59,   59,   59,
       59,   59,   59,   59,   59,   59,   59,   59,   59,   59,

       59,   59,   59,   59,   59,   59,   59,   59,   59,   59,
       59,   59,   59,   59
    }

Definition at line 387 of file exolex.c.

YY_BUFFER_STATE yy_current_buffer = 0 [static]
 

Definition at line 201 of file exolex.c.

yyconst short int yy_def[64] [static]
 

Initial value:

    {   0,
       59,    1,   60,   60,   59,   59,   59,   59,   59,   61,
       62,   59,   59,   59,    9,   59,    9,   59,   59,   59,
       63,   59,   59,   59,   59,   59,   59,    9,   61,   59,
       61,   62,   62,   59,   59,   59,   59,    9,   59,   59,
       59,   59,   63,   59,   59,   59,   59,   59,   59,   59,
       59,   59,   59,   59,   59,   59,   59,   59,    0,   59,
       59,   59,   59
    }

Definition at line 348 of file exolex.c.

int yy_did_buffer_switch_on_eof [static]
 

Definition at line 226 of file exolex.c.

yyconst int yy_ec[256] [static]
 

Definition at line 297 of file exolex.c.

char yy_hold_char [static]
 

Definition at line 211 of file exolex.c.

int yy_init = 1 [static]
 

Definition at line 220 of file exolex.c.

char* yy_last_accepting_cpos [static]
 

Definition at line 416 of file exolex.c.

yy_state_type yy_last_accepting_state [static]
 

Definition at line 415 of file exolex.c.

yyconst int yy_meta[37] [static]
 

Initial value:

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

Definition at line 329 of file exolex.c.

int yy_n_chars [static]
 

Definition at line 213 of file exolex.c.

yyconst short int yy_nxt[215] [static]
 

Initial value:

    {   0,
        6,    7,    8,    9,   10,    9,    9,    9,    9,   11,
       12,   13,    9,    9,   14,   15,   16,   17,   18,   19,
       20,    6,    9,    9,   21,   21,   21,   21,   22,    6,
       23,    9,   24,    9,   25,    9,    7,    8,   30,   34,
       30,   35,   36,   37,   37,   59,   39,   43,   40,   40,
       45,   59,   32,   26,   26,   41,   27,   42,   38,   26,
       26,    7,    8,   31,   39,   31,   36,   36,   44,   44,
       33,   37,   37,   41,   44,   44,   37,   37,   26,   26,
       33,   27,   59,   46,   26,   26,   28,   59,   28,   28,
       28,   28,   50,   50,   59,   28,   28,   59,   28,   39,

       28,   40,   40,   50,   50,   28,   28,   49,   41,   49,
       42,   59,   50,   50,   28,   59,   28,   39,   28,   36,
       36,   47,   47,   53,   53,   59,   41,   39,   48,   40,
       40,   51,   51,   47,   47,   59,   41,   51,   51,   52,
       54,   52,   53,   53,   53,   53,   55,   59,   55,   51,
       51,   56,   56,   56,   56,   51,   51,   57,   59,   57,
       56,   56,   58,   58,   58,   58,   58,   58,    6,    6,
        6,   29,   29,   29,   32,   59,   32,    5,   59,   59,
       59,   59,   59,   59,   59,   59,   59,   59,   59,   59,
       59,   59,   59,   59,   59,   59,   59,   59,   59,   59,

       59,   59,   59,   59,   59,   59,   59,   59,   59,   59,
       59,   59,   59,   59
    }

Definition at line 359 of file exolex.c.

int yy_start = 0 [static]
 

Definition at line 221 of file exolex.c.

FILE * yyin = (FILE *) 0
 

Definition at line 265 of file exolex.c.

int yyleng
 

Definition at line 216 of file exolex.c.

FILE * yyout = (FILE *) 0
 

Definition at line 265 of file exolex.c.

char * yytext
 

Definition at line 425 of file exolex.c.



UVa CS Department of Computer Science
School of Engineering, University of Virginia
151 Engineer's Way, P.O. Box 400740
Charlottesville, Virginia 22904-4740

(434) 982-2200  Fax: (434) 982-2214