OpenCOBOL 1.1pre-rel
Classes | Defines | Typedefs | Functions | Variables
pplex.c File Reference
#include <stdio.h>
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "cobc.h"
#include "ppparse.h"
Include dependency graph for pplex.c:

Go to the source code of this file.

Classes

struct  yy_buffer_state
struct  copy_info

Defines

#define yy_create_buffer   pp_create_buffer
#define yy_delete_buffer   pp_delete_buffer
#define yy_scan_buffer   pp_scan_buffer
#define yy_scan_string   pp_scan_string
#define yy_scan_bytes   pp_scan_bytes
#define yy_flex_debug   pp_flex_debug
#define yy_init_buffer   pp_init_buffer
#define yy_flush_buffer   pp_flush_buffer
#define yy_load_buffer_state   pp_load_buffer_state
#define yy_switch_to_buffer   pp_switch_to_buffer
#define yyin   ppin
#define yyleng   ppleng
#define yylex   pplex
#define yyout   ppout
#define yyrestart   pprestart
#define yytext   pptext
#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 yywrap()   1
#define YY_SKIP_YYWRAP
#define yytext_ptr   yytext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   54
#define YY_END_OF_BUFFER   55
#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 YY_NEVER_INTERACTIVE   1
#define YY_INPUT(buf, result, max_size)   result = ppinput (buf, max_size);
#define PROCESS_STATE   1
#define COPY_STATE   2
#define PSEUDO_STATE   3
#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_USER_ACTION
#define YY_BREAK   break;
#define YY_RULE_SETUP
#define YY_EXIT_FAILURE   2
#define yyless(n)

Typedefs

typedef struct 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 *yy_str))
YY_BUFFER_STATE yy_scan_bytes YY_PROTO ((yyconst char *bytes, int len))

Variables

int yyleng
FILE * yyin = (FILE *) 0
FILE * yyout = (FILE *) 0
char * yytext
register char * yy_bp
int size
FILE * file
int len

Define Documentation

#define BEGIN   yy_start = 1 + 2 *

Definition at line 97 of file pplex.c.

#define COPY_STATE   2

Definition at line 710 of file pplex.c.

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

Definition at line 793 of file pplex.c.

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 122 of file pplex.c.

#define EOB_ACT_END_OF_FILE   1

Definition at line 123 of file pplex.c.

#define EOB_ACT_LAST_MATCH   2

Definition at line 124 of file pplex.c.

#define FLEX_SCANNER

Definition at line 25 of file pplex.c.

#define INITIAL   0

Definition at line 639 of file pplex.c.

#define PROCESS_STATE   1

Definition at line 709 of file pplex.c.

#define PSEUDO_STATE   3

Definition at line 711 of file pplex.c.

#define REJECT   reject_used_but_not_detected

Definition at line 633 of file pplex.c.

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

Definition at line 153 of file pplex.c.

#define YY_AT_BOL ( )    (yy_current_buffer->yy_at_bol)

Definition at line 280 of file pplex.c.

#define YY_BREAK   break;

Definition at line 852 of file pplex.c.

#define YY_BUF_SIZE   16384

Definition at line 115 of file pplex.c.

#define YY_BUFFER_EOF_PENDING   2

Definition at line 216 of file pplex.c.

#define YY_BUFFER_NEW   0

Definition at line 204 of file pplex.c.

#define YY_BUFFER_NORMAL   1

Definition at line 205 of file pplex.c.

#define yy_create_buffer   pp_create_buffer

Definition at line 1 of file pplex.c.

#define YY_CURRENT_BUFFER   yy_current_buffer

Definition at line 225 of file pplex.c.

#define YY_DECL   int yylex YY_PROTO(( void ))

Definition at line 840 of file pplex.c.

#define yy_delete_buffer   pp_delete_buffer

Definition at line 2 of file pplex.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 299 of file pplex.c.

#define YY_END_OF_BUFFER   55

Definition at line 307 of file pplex.c.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 112 of file pplex.c.

#define YY_EXIT_FAILURE   2
#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

Definition at line 833 of file pplex.c.

#define yy_flex_debug   pp_flex_debug

Definition at line 6 of file pplex.c.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 26 of file pplex.c.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 27 of file pplex.c.

#define yy_flush_buffer   pp_flush_buffer

Definition at line 8 of file pplex.c.

#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )

Definition at line 254 of file pplex.c.

#define yy_init_buffer   pp_init_buffer

Definition at line 7 of file pplex.c.

#define YY_INPUT (   buf,
  result,
  max_size 
)    result = ppinput (buf, max_size);

Definition at line 701 of file pplex.c.

#define yy_load_buffer_state   pp_load_buffer_state

Definition at line 9 of file pplex.c.

#define YY_MORE_ADJ   0

Definition at line 635 of file pplex.c.

#define YY_NEVER_INTERACTIVE   1

Definition at line 659 of file pplex.c.

#define yy_new_buffer   yy_create_buffer

Definition at line 264 of file pplex.c.

#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 110 of file pplex.c.

#define YY_NO_POP_STATE   1

Definition at line 763 of file pplex.c.

#define YY_NO_PUSH_STATE   1

Definition at line 762 of file pplex.c.

#define YY_NO_TOP_STATE   1

Definition at line 764 of file pplex.c.

#define YY_NULL   0

Definition at line 84 of file pplex.c.

#define YY_NUM_RULES   54

Definition at line 306 of file pplex.c.

#define YY_PROTO (   proto)    ()

Definition at line 80 of file pplex.c.

#define YY_READ_BUF_SIZE   8192

Definition at line 784 of file pplex.c.

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 636 of file pplex.c.

#define YY_RULE_SETUP
Value:
if ( yyleng > 0 ) \
                yy_current_buffer->yy_at_bol = \
                                (yytext[yyleng - 1] == '\n'); \
        YY_USER_ACTION

Definition at line 855 of file pplex.c.

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

Definition at line 91 of file pplex.c.

#define yy_scan_buffer   pp_scan_buffer

Definition at line 3 of file pplex.c.

#define yy_scan_bytes   pp_scan_bytes

Definition at line 5 of file pplex.c.

#define yy_scan_string   pp_scan_string

Definition at line 4 of file pplex.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 273 of file pplex.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 266 of file pplex.c.

#define YY_SKIP_YYWRAP

Definition at line 284 of file pplex.c.

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

Definition at line 103 of file pplex.c.

#define YY_START_STACK_INCR   25

Definition at line 828 of file pplex.c.

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

Definition at line 107 of file pplex.c.

#define yy_switch_to_buffer   pp_switch_to_buffer

Definition at line 10 of file pplex.c.

#define YY_USER_ACTION

Definition at line 847 of file pplex.c.

#define yyconst

Definition at line 73 of file pplex.c.

FILE * yyin   ppin

Definition at line 11 of file pplex.c.

int yyleng   ppleng

Definition at line 12 of file pplex.c.

#define yyless (   n)
Value:
do \
                { \
                /* Undo effects of setting up yytext. */ \
                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 142 of file pplex.c.

#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 142 of file pplex.c.

#define yylex   pplex

Definition at line 13 of file pplex.c.

#define yymore ( )    yymore_used_but_not_detected

Definition at line 634 of file pplex.c.

FILE * yyout   ppout

Definition at line 14 of file pplex.c.

#define yyrestart   pprestart

Definition at line 15 of file pplex.c.

#define YYSTATE   YY_START

Definition at line 104 of file pplex.c.

#define yyterminate ( )    return YY_NULL

Definition at line 823 of file pplex.c.

char * yytext   pptext

Definition at line 16 of file pplex.c.

#define yytext_ptr   yytext

Definition at line 289 of file pplex.c.

#define yywrap ( )    1

Definition at line 283 of file pplex.c.


Typedef Documentation

Definition at line 117 of file pplex.c.

typedef unsigned char YY_CHAR

Definition at line 285 of file pplex.c.

typedef unsigned int yy_size_t

Definition at line 159 of file pplex.c.

typedef int yy_state_type

Definition at line 287 of file pplex.c.


Function Documentation

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 )
YY_BUFFER_STATE yy_scan_bytes YY_PROTO ( (yyconst char *bytes, int len )
void yy_switch_to_buffer YY_PROTO ( (YY_BUFFER_STATE new_buffer)  )
static int input YY_PROTO ( (void)  )
void yy_init_buffer YY_PROTO ( (YY_BUFFER_STATE b, FILE *file )
void yy_flush_buffer YY_PROTO ( (YY_BUFFER_STATE b)  )
void yyrestart YY_PROTO ( (FILE *input_file)  )
YY_BUFFER_STATE yy_create_buffer YY_PROTO ( (FILE *file, int size )

Variable Documentation

FILE* file

Definition at line 1807 of file pplex.c.

int len

Definition at line 1929 of file pplex.c.

Definition at line 1718 of file pplex.c.

register char* yy_bp

Definition at line 1570 of file pplex.c.

FILE* yyin = (FILE *) 0

Definition at line 286 of file pplex.c.

int yyleng

Definition at line 234 of file pplex.c.

FILE * yyout = (FILE *) 0

Definition at line 286 of file pplex.c.

char* yytext

Definition at line 637 of file pplex.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines