GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lex.yy.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <grass/sqlp.h>
#include "y.tab.h"
#include <unistd.h>
Include dependency graph for lex.yy.c:

Go to the source code of this file.

Data Structures

struct  yy_buffer_state
 
struct  yy_trans_info
 

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   39
 
#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 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 YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 
#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SIZE_T
 
#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 YY_LINENO_REWIND_TO(ptr)
 
#define yyless(n)
 
#define unput(c)   yyunput( c, (yytext_ptr) )
 
#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   (yy_buffer_stack)[(yy_buffer_stack_top)]
 
#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_LVALUE->yy_at_bol)
 
#define yytext_ptr   yytext
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   53
 
#define YY_END_OF_BUFFER   54
 
#define REJECT   reject_used_but_not_detected
 
#define yymore()   ((yy_more_flag) = 1)
 
#define YY_MORE_ADJ   (yy_more_len)
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define YY_INPUT(b, r, ms)   (r = my_yyinput(b, ms))
 
#define INITIAL   0
 
#define YY_EXTRA_TYPE   void *
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO   do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
 
#define yyterminate()   return YY_NULL
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
 
#define YY_DECL_IS_OURS   1
 
#define YY_DECL   int yylex (void)
 
#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 struct yy_buffer_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 
typedef unsigned char YY_CHAR
 
typedef int yy_state_type
 

Functions

void yyrestart (FILE *input_file)
 
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 
YY_BUFFER_STATE yy_create_buffer (FILE *file, int size)
 
void yy_delete_buffer (YY_BUFFER_STATE b)
 
void yy_flush_buffer (YY_BUFFER_STATE b)
 
void yypush_buffer_state (YY_BUFFER_STATE new_buffer)
 
void yypop_buffer_state (void)
 
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, yy_size_t len)
 
void * yyalloc (yy_size_t)
 
void * yyrealloc (void *, yy_size_t)
 
void yyfree (void *)
 
int yylex_destroy (void)
 
int yyget_debug (void)
 
void yyset_debug (int debug_flag)
 
YY_EXTRA_TYPE yyget_extra (void)
 
void yyset_extra (YY_EXTRA_TYPE user_defined)
 
FILE * yyget_in (void)
 
void yyset_in (FILE *in_str)
 
FILE * yyget_out (void)
 
void yyset_out (FILE *out_str)
 
yy_size_t yyget_leng (void)
 
char * yyget_text (void)
 
int yyget_lineno (void)
 
void yyset_lineno (int line_number)
 
int yywrap (void)
 
int yylex (void)
 
 if (!YY_CURRENT_BUFFER)
 

Variables

yy_size_t yyleng
 
FILE * yyin = (FILE *) 0
 
FILE * yyout = (FILE *) 0
 
int yylineno = 1
 
char * yytext
 
int yy_flex_debug = 0
 
 YY_DECL
 
register char * yy_cp
 
register char * yy_bp
 
register int yy_act
 

Macro Definition Documentation

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 125 of file lex.yy.c.

Referenced by process_command().

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

Definition at line 689 of file lex.yy.c.

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 173 of file lex.yy.c.

#define EOB_ACT_END_OF_FILE   1

Definition at line 174 of file lex.yy.c.

#define EOB_ACT_LAST_MATCH   2

Definition at line 175 of file lex.yy.c.

#define FLEX_BETA

Definition at line 13 of file lex.yy.c.

#define FLEX_SCANNER

Definition at line 8 of file lex.yy.c.

#define FLEXINT_H

Definition at line 29 of file lex.yy.c.

#define INITIAL   0

Definition at line 597 of file lex.yy.c.

#define INT16_MAX   (32767)

Definition at line 71 of file lex.yy.c.

#define INT16_MIN   (-32767-1)

Definition at line 62 of file lex.yy.c.

#define INT32_MAX   (2147483647)

Definition at line 74 of file lex.yy.c.

#define INT32_MIN   (-2147483647-1)

Definition at line 65 of file lex.yy.c.

#define INT8_MAX   (127)

Definition at line 68 of file lex.yy.c.

#define INT8_MIN   (-128)

Definition at line 59 of file lex.yy.c.

#define REJECT   reject_used_but_not_detected

Definition at line 557 of file lex.yy.c.

#define UINT16_MAX   (65535U)

Definition at line 80 of file lex.yy.c.

#define UINT32_MAX   (4294967295U)

Definition at line 83 of file lex.yy.c.

#define UINT8_MAX   (255U)

Definition at line 77 of file lex.yy.c.

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

Definition at line 194 of file lex.yy.c.

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 340 of file lex.yy.c.

#define YY_BREAK   break;

Definition at line 768 of file lex.yy.c.

#define YY_BUF_SIZE   16384

Definition at line 151 of file lex.yy.c.

Referenced by if().

#define YY_BUFFER_EOF_PENDING   2

Definition at line 256 of file lex.yy.c.

#define YY_BUFFER_NEW   0

Definition at line 244 of file lex.yy.c.

#define YY_BUFFER_NORMAL   1

Definition at line 245 of file lex.yy.c.

#define YY_CURRENT_BUFFER
Value:
( (yy_buffer_stack) \
? (yy_buffer_stack)[(yy_buffer_stack_top)] \
: NULL)
return NULL
Definition: dbfopen.c:1394

Definition at line 272 of file lex.yy.c.

#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]

Definition at line 279 of file lex.yy.c.

Referenced by if().

#define YY_DECL   int yylex (void)

Definition at line 756 of file lex.yy.c.

#define YY_DECL_IS_OURS   1

Definition at line 752 of file lex.yy.c.

#define YY_DO_BEFORE_ACTION
Value:
(yytext_ptr) -= (yy_more_len); \
yyleng = (size_t) (yy_cp - (yytext_ptr)); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
yy_size_t yyleng
Definition: lex.yy.c:284
register char * yy_bp
Definition: lex.yy.c:779
#define yytext_ptr
Definition: lex.yy.c:355
register char * yy_cp
Definition: lex.yy.c:779

Definition at line 365 of file lex.yy.c.

#define YY_END_OF_BUFFER   54

Definition at line 374 of file lex.yy.c.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 140 of file lex.yy.c.

#define YY_EXIT_FAILURE   2
#define YY_EXTRA_TYPE   void *

Definition at line 608 of file lex.yy.c.

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

Definition at line 743 of file lex.yy.c.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 9 of file lex.yy.c.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 10 of file lex.yy.c.

#define YY_FLEX_SUBMINOR_VERSION   39

Definition at line 11 of file lex.yy.c.

#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER )

Definition at line 308 of file lex.yy.c.

#define YY_INPUT (   b,
  r,
  ms 
)    (r = my_yyinput(b, ms))

Definition at line 591 of file lex.yy.c.

#define YY_INT_ALIGNED   short int

Definition at line 4 of file lex.yy.c.

#define YY_LESS_LINENO (   n)

Definition at line 177 of file lex.yy.c.

#define YY_LINENO_REWIND_TO (   ptr)

Definition at line 178 of file lex.yy.c.

#define YY_MORE_ADJ   (yy_more_len)

Definition at line 561 of file lex.yy.c.

#define yy_new_buffer   yy_create_buffer

Definition at line 318 of file lex.yy.c.

#define YY_NEW_FILE   yyrestart(yyin )

Definition at line 138 of file lex.yy.c.

#define YY_NULL   0

Definition at line 112 of file lex.yy.c.

#define YY_NUM_RULES   53

Definition at line 373 of file lex.yy.c.

#define YY_READ_BUF_SIZE   8192

Definition at line 680 of file lex.yy.c.

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 562 of file lex.yy.c.

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 771 of file lex.yy.c.

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

Definition at line 119 of file lex.yy.c.

#define yy_set_bol (   at_bol)
Value:
{ \
yyensure_buffer_stack (); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
FILE * yyin
Definition: lex.yy.c:346
#define YY_CURRENT_BUFFER
Definition: lex.yy.c:272
#define YY_CURRENT_BUFFER_LVALUE
Definition: lex.yy.c:279
if(!YY_CURRENT_BUFFER)
Definition: lex.yy.c:799
#define YY_BUF_SIZE
Definition: lex.yy.c:151
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)

Definition at line 330 of file lex.yy.c.

#define yy_set_interactive (   is_interactive)
Value:
{ \
yyensure_buffer_stack (); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
FILE * yyin
Definition: lex.yy.c:346
#define YY_CURRENT_BUFFER
Definition: lex.yy.c:272
#define YY_CURRENT_BUFFER_LVALUE
Definition: lex.yy.c:279
if(!YY_CURRENT_BUFFER)
Definition: lex.yy.c:799
#define YY_BUF_SIZE
Definition: lex.yy.c:151
YY_BUFFER_STATE yy_create_buffer(FILE *file, int size)

Definition at line 320 of file lex.yy.c.

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

Definition at line 131 of file lex.yy.c.

#define YY_START_STACK_INCR   25

Definition at line 738 of file lex.yy.c.

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

Definition at line 157 of file lex.yy.c.

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

Definition at line 135 of file lex.yy.c.

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 197 of file lex.yy.c.

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 160 of file lex.yy.c.

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 165 of file lex.yy.c.

#define YY_USER_ACTION

Definition at line 763 of file lex.yy.c.

#define yyconst

Definition at line 108 of file lex.yy.c.

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
*yy_cp = (yy_hold_char); \
(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} \
while ( 0 )
#define YY_RESTORE_YY_MORE_OFFSET
Definition: lex.yy.c:562
#define YY_MORE_ADJ
Definition: lex.yy.c:561
#define YY_DO_BEFORE_ACTION
Definition: lex.yy.c:365
#define YY_LESS_LINENO(n)
Definition: lex.yy.c:177
register char * yy_bp
Definition: lex.yy.c:779
int n
Definition: dataquad.c:291
register char * yy_cp
Definition: lex.yy.c:779

Definition at line 181 of file lex.yy.c.

#define yyless (   n)
Value:
do \
{ \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg);\
yytext[yyleng] = (yy_hold_char); \
(yy_c_buf_p) = yytext + yyless_macro_arg; \
(yy_hold_char) = *(yy_c_buf_p); \
*(yy_c_buf_p) = '\0'; \
yyleng = yyless_macro_arg; \
} \
while ( 0 )
yy_size_t yyleng
Definition: lex.yy.c:284
#define YY_LESS_LINENO(n)
Definition: lex.yy.c:177
char * yytext
Definition: lex.yy.c:563
int n
Definition: dataquad.c:291

Definition at line 181 of file lex.yy.c.

#define yymore ( )    ((yy_more_flag) = 1)

Definition at line 560 of file lex.yy.c.

#define YYSTATE   YY_START

Definition at line 132 of file lex.yy.c.

#define YYTABLES_NAME   "yytables"
#define yyterminate ( )    return YY_NULL

Definition at line 733 of file lex.yy.c.

#define yytext_ptr   yytext

Definition at line 355 of file lex.yy.c.

Typedef Documentation

typedef short int flex_int16_t

Definition at line 51 of file lex.yy.c.

typedef int flex_int32_t

Definition at line 52 of file lex.yy.c.

typedef signed char flex_int8_t

Definition at line 50 of file lex.yy.c.

typedef unsigned short int flex_uint16_t

Definition at line 54 of file lex.yy.c.

typedef unsigned int flex_uint32_t

Definition at line 55 of file lex.yy.c.

typedef unsigned char flex_uint8_t

Definition at line 53 of file lex.yy.c.

Definition at line 161 of file lex.yy.c.

typedef unsigned char YY_CHAR

Definition at line 344 of file lex.yy.c.

typedef size_t yy_size_t

Definition at line 166 of file lex.yy.c.

typedef int yy_state_type

Definition at line 348 of file lex.yy.c.

Function Documentation

YY_BUFFER_STATE yy_create_buffer ( FILE *  file,
int  size 
)

Referenced by if().

void yy_delete_buffer ( YY_BUFFER_STATE  b)
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_bytes ( yyconst char *  bytes,
yy_size_t  len 
)
YY_BUFFER_STATE yy_scan_string ( yyconst char *  yy_str)
void yy_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)
void* yyalloc ( yy_size_t  )
void yyfree ( void *  )
int yyget_debug ( void  )
YY_EXTRA_TYPE yyget_extra ( void  )
FILE* yyget_in ( void  )
yy_size_t yyget_leng ( void  )
int yyget_lineno ( void  )
FILE* yyget_out ( void  )
char* yyget_text ( void  )
int yylex ( void  )

Referenced by yyparse().

int yylex_destroy ( void  )
void yypop_buffer_state ( void  )
void yypush_buffer_state ( YY_BUFFER_STATE  new_buffer)
void* yyrealloc ( void *  ,
yy_size_t   
)
void yyrestart ( FILE *  input_file)
void yyset_debug ( int  debug_flag)
void yyset_extra ( YY_EXTRA_TYPE  user_defined)
void yyset_in ( FILE *  in_str)
void yyset_lineno ( int  line_number)
void yyset_out ( FILE *  out_str)
int yywrap ( void  )

Variable Documentation

register int yy_act

Definition at line 780 of file lex.yy.c.

register char * yy_bp

Definition at line 779 of file lex.yy.c.

register char* yy_cp

Definition at line 779 of file lex.yy.c.

YY_DECL
Initial value:
{
register yy_state_type yy_current_state
int yy_state_type
Definition: lex.yy.c:348

The main scanner function which does all the work.

Definition at line 777 of file lex.yy.c.

int yy_flex_debug = 0

Definition at line 552 of file lex.yy.c.

FILE * yyin = (FILE *) 0

Definition at line 346 of file lex.yy.c.

Referenced by if().

yy_size_t yyleng

Definition at line 284 of file lex.yy.c.

int yylineno = 1

Definition at line 352 of file lex.yy.c.

FILE * yyout = (FILE *) 0

Definition at line 346 of file lex.yy.c.

char * yytext

Definition at line 563 of file lex.yy.c.