y.tab.c File Reference

#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <grass/sqlp.h>
#include <stdio.h>

Include dependency graph for y.tab.c:

Go to the source code of this file.

Data Structures

union  YYSTYPE
union  yyalloc

Defines

#define YYBISON   1
#define YYBISON_VERSION   "2.3"
#define YYSKELETON_NAME   "yacc.c"
#define YYPURE   0
#define YYLSP_NEEDED   0
#define COMPARISON_OPERATOR   258
#define NAME   259
#define STRING   260
#define INTNUM   261
#define FLOATNUM   262
#define ADD   263
#define DROP   264
#define COLUMN   265
#define EQUAL   266
#define SELECT   267
#define FROM   268
#define WHERE   269
#define DELETE   270
#define INSERT   271
#define INTO   272
#define VALUES   273
#define UPDATE   274
#define SET   275
#define AND   276
#define OR   277
#define NOT   278
#define ALTER   279
#define TABLE   280
#define CREATE   281
#define NULL_VALUE   282
#define VARCHAR   283
#define INT   284
#define INTEGER   285
#define DOUBLE   286
#define PRECISION   287
#define DATE   288
#define TIME   289
#define ORDER   290
#define BY   291
#define IS   292
#define ASC   293
#define DESC   294
#define YYDEBUG   1
#define YYERROR_VERBOSE   1
#define YYERROR_VERBOSE   1
#define YYTOKEN_TABLE   0
#define yystype   YYSTYPE
#define YYSTYPE_IS_DECLARED   1
#define YYSTYPE_IS_TRIVIAL   1
#define YYSIZE_T   unsigned int
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
#define YY_(msgid)   msgid
#define YYUSE(e)   ((void) (e))
#define YYID(n)   (n)
#define YYSTACK_ALLOC   YYMALLOC
#define YYSTACK_FREE   YYFREE
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
#define YYMALLOC   malloc
#define YYFREE   free
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
#define YYSTACK_BYTES(N)
#define YYCOPY(To, From, Count)
#define YYSTACK_RELOCATE(Stack)
#define YYFINAL   27
#define YYLAST   156
#define YYNTOKENS   48
#define YYNNTS   32
#define YYNRULES   87
#define YYNSTATES   157
#define YYUNDEFTOK   2
#define YYMAXUTOK   294
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF   -52
#define YYTABLE_NINF   -1
#define yyerrok   (yyerrstatus = 0)
#define yyclearin   (yychar = YYEMPTY)
#define YYEMPTY   (-2)
#define YYEOF   0
#define YYACCEPT   goto yyacceptlab
#define YYABORT   goto yyabortlab
#define YYERROR   goto yyerrorlab
#define YYFAIL   goto yyerrlab
#define YYRECOVERING()   (!!yyerrstatus)
#define YYBACKUP(Token, Value)
#define YYTERROR   1
#define YYERRCODE   256
#define YYRHSLOC(Rhs, K)   ((Rhs)[K])
#define YYLLOC_DEFAULT(Current, Rhs, N)
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
#define YYLEX   yylex ()
#define YYFPRINTF   fprintf
#define YYDPRINTF(Args)
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
#define YY_STACK_PRINT(Bottom, Top)
#define YY_REDUCE_PRINT(Rule)
#define YYINITDEPTH   200
#define YYMAXDEPTH   10000
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))

Typedefs

typedef unsigned char yytype_uint8
typedef short int yytype_int8
typedef unsigned short int yytype_uint16
typedef short int yytype_int16

Enumerations

enum  yytokentype {
  COMPARISON_OPERATOR = 258, NAME = 259, STRING = 260, INTNUM = 261,
  FLOATNUM = 262, ADD = 263, DROP = 264, COLUMN = 265,
  EQUAL = 266, SELECT = 267, FROM = 268, WHERE = 269,
  DELETE = 270, INSERT = 271, INTO = 272, VALUES = 273,
  UPDATE = 274, SET = 275, AND = 276, OR = 277,
  NOT = 278, ALTER = 279, TABLE = 280, CREATE = 281,
  NULL_VALUE = 282, VARCHAR = 283, INT = 284, INTEGER = 285,
  DOUBLE = 286, PRECISION = 287, DATE = 288, TIME = 289,
  ORDER = 290, BY = 291, IS = 292, ASC = 293,
  DESC = 294, COMPARISON_OPERATOR = 258, NAME = 259, STRING = 260,
  INTNUM = 261, FLOATNUM = 262, ADD = 263, DROP = 264,
  COLUMN = 265, EQUAL = 266, SELECT = 267, FROM = 268,
  WHERE = 269, DELETE = 270, INSERT = 271, INTO = 272,
  VALUES = 273, UPDATE = 274, SET = 275, AND = 276,
  OR = 277, NOT = 278, ALTER = 279, TABLE = 280,
  CREATE = 281, NULL_VALUE = 282, VARCHAR = 283, INT = 284,
  INTEGER = 285, DOUBLE = 286, PRECISION = 287, DATE = 288,
  TIME = 289, ORDER = 290, BY = 291, IS = 292,
  ASC = 293, DESC = 294
}

Functions

int yylex (void)
int yyparse ()

Variables

int yydebug
int yychar
YYSTYPE yylval
int yynerrs


Define Documentation

#define ADD   263

Definition at line 114 of file y.tab.c.

#define ALTER   279

Definition at line 130 of file y.tab.c.

#define AND   276

Definition at line 127 of file y.tab.c.

#define ASC   293

Definition at line 144 of file y.tab.c.

#define BY   291

Definition at line 142 of file y.tab.c.

#define COLUMN   265

Definition at line 116 of file y.tab.c.

#define COMPARISON_OPERATOR   258

Definition at line 109 of file y.tab.c.

#define CREATE   281

Definition at line 132 of file y.tab.c.

#define DATE   288

Definition at line 139 of file y.tab.c.

#define DELETE   270

Definition at line 121 of file y.tab.c.

#define DESC   294

Definition at line 145 of file y.tab.c.

#define DOUBLE   286

Definition at line 137 of file y.tab.c.

#define DROP   264

Definition at line 115 of file y.tab.c.

#define EQUAL   266

Definition at line 117 of file y.tab.c.

#define FLOATNUM   262

Definition at line 113 of file y.tab.c.

#define FROM   268

Definition at line 119 of file y.tab.c.

#define INSERT   271

Definition at line 122 of file y.tab.c.

#define INT   284

Definition at line 135 of file y.tab.c.

#define INTEGER   285

Definition at line 136 of file y.tab.c.

#define INTNUM   261

Definition at line 112 of file y.tab.c.

#define INTO   272

Definition at line 123 of file y.tab.c.

#define IS   292

Definition at line 143 of file y.tab.c.

#define NAME   259

Definition at line 110 of file y.tab.c.

#define NOT   278

Definition at line 129 of file y.tab.c.

#define NULL_VALUE   282

Definition at line 133 of file y.tab.c.

#define OR   277

Definition at line 128 of file y.tab.c.

#define ORDER   290

Definition at line 141 of file y.tab.c.

#define PRECISION   287

Definition at line 138 of file y.tab.c.

#define SELECT   267

Definition at line 118 of file y.tab.c.

#define SET   275

Definition at line 126 of file y.tab.c.

#define STRING   260

Definition at line 111 of file y.tab.c.

#define TABLE   280

Definition at line 131 of file y.tab.c.

#define TIME   289

Definition at line 140 of file y.tab.c.

#define UPDATE   274

Definition at line 125 of file y.tab.c.

#define VALUES   273

Definition at line 124 of file y.tab.c.

#define VARCHAR   283

Definition at line 134 of file y.tab.c.

#define WHERE   269

Definition at line 120 of file y.tab.c.

#define YY_ ( msgid   )     msgid

Definition at line 267 of file y.tab.c.

Referenced by yyparse().

#define YY_LOCATION_PRINT ( File,
Loc   )     ((void) 0)

Definition at line 815 of file y.tab.c.

#define YY_REDUCE_PRINT ( Rule   ) 

Value:

do {                                    \
  if (yydebug)                          \
    yy_reduce_print (yyvsp, Rule); \
} while (YYID (0))

Definition at line 972 of file y.tab.c.

Referenced by yyparse().

#define YY_STACK_PRINT ( Bottom,
Top   ) 

Value:

do {                                                            \
  if (yydebug)                                                  \
    yy_stack_print ((Bottom), (Top));                           \
} while (YYID (0))

Definition at line 934 of file y.tab.c.

Referenced by yyparse().

#define YY_SYMBOL_PRINT ( Title,
Type,
Value,
Location   ) 

Value:

do {                                                                      \
  if (yydebug)                                                            \
    {                                                                     \
      YYFPRINTF (stderr, "%s ", Title);                                   \
      yy_symbol_print (stderr,                                            \
                  Type, Value); \
      YYFPRINTF (stderr, "\n");                                           \
    }                                                                     \
} while (YYID (0))

Definition at line 842 of file y.tab.c.

Referenced by yyparse().

#define YYABORT   goto yyabortlab

Definition at line 744 of file y.tab.c.

Referenced by yyparse().

#define YYACCEPT   goto yyacceptlab

Definition at line 743 of file y.tab.c.

Referenced by yyparse().

#define YYBACKUP ( Token,
Value   ) 

Value:

do                                                              \
  if (yychar == YYEMPTY && yylen == 1)                          \
    {                                                           \
      yychar = (Token);                                         \
      yylval = (Value);                                         \
      yytoken = YYTRANSLATE (yychar);                           \
      YYPOPSTACK (1);                                           \
      goto yybackup;                                            \
    }                                                           \
  else                                                          \
    {                                                           \
      yyerror (YY_("syntax error: cannot back up")); \
      YYERROR;                                                  \
    }                                                           \
while (YYID (0))

Definition at line 756 of file y.tab.c.

#define YYBISON   1

Definition at line 47 of file y.tab.c.

#define YYBISON_VERSION   "2.3"

Definition at line 50 of file y.tab.c.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 739 of file y.tab.c.

#define YYCOPY ( To,
From,
Count   ) 

Value:

do                                      \
        {                                       \
          YYSIZE_T yyi;                         \
          for (yyi = 0; yyi < (Count); yyi++)   \
            (To)[yyi] = (From)[yyi];            \
        }                                       \
      while (YYID (0))

Definition at line 393 of file y.tab.c.

#define YYDEBUG   1

Definition at line 158 of file y.tab.c.

#define YYDPRINTF ( Args   ) 

Value:

do {                                            \
  if (yydebug)                                  \
    YYFPRINTF Args;                             \
} while (YYID (0))

Definition at line 836 of file y.tab.c.

Referenced by yyparse().

#define YYEMPTY   (-2)

Definition at line 740 of file y.tab.c.

Referenced by yyparse().

#define YYEOF   0

Definition at line 741 of file y.tab.c.

Referenced by yyparse().

#define YYERRCODE   256

Definition at line 775 of file y.tab.c.

#define yyerrok   (yyerrstatus = 0)

Definition at line 738 of file y.tab.c.

#define YYERROR   goto yyerrorlab

Definition at line 745 of file y.tab.c.

#define YYERROR_VERBOSE   1

Definition at line 171 of file y.tab.c.

#define YYERROR_VERBOSE   1

Definition at line 171 of file y.tab.c.

#define YYFAIL   goto yyerrlab

Definition at line 752 of file y.tab.c.

#define YYFINAL   27

Definition at line 423 of file y.tab.c.

Referenced by yyparse().

#define YYFPRINTF   fprintf

Definition at line 833 of file y.tab.c.

#define YYFREE   free

Definition at line 356 of file y.tab.c.

#define YYID (  )     (n)

Definition at line 280 of file y.tab.c.

Referenced by yyparse().

#define YYINITDEPTH   200

Definition at line 991 of file y.tab.c.

Referenced by yyparse().

#define YYLAST   156

Definition at line 425 of file y.tab.c.

Referenced by yyparse().

#define YYLEX   yylex ()

Definition at line 825 of file y.tab.c.

Referenced by yyparse().

#define YYLLOC_DEFAULT ( Current,
Rhs,
 ) 

Value:

do                                                                      \
      if (YYID (N))                                                    \
        {                                                               \
          (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
          (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
          (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
          (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
        }                                                               \
      else                                                              \
        {                                                               \
          (Current).first_line   = (Current).last_line   =              \
            YYRHSLOC (Rhs, 0).last_line;                                \
          (Current).first_column = (Current).last_column =              \
            YYRHSLOC (Rhs, 0).last_column;                              \
        }                                                               \
    while (YYID (0))

Definition at line 784 of file y.tab.c.

#define YYLSP_NEEDED   0

Definition at line 59 of file y.tab.c.

#define YYMALLOC   malloc

Definition at line 349 of file y.tab.c.

#define YYMAXDEPTH   10000

Definition at line 1002 of file y.tab.c.

Referenced by yyparse().

#define YYMAXUTOK   294

Definition at line 438 of file y.tab.c.

#define YYNNTS   32

Definition at line 430 of file y.tab.c.

#define YYNRULES   87

Definition at line 432 of file y.tab.c.

#define YYNSTATES   157

Definition at line 434 of file y.tab.c.

#define YYNTOKENS   48

Definition at line 428 of file y.tab.c.

Referenced by yyparse().

#define YYPACT_NINF   -52

Definition at line 641 of file y.tab.c.

Referenced by yyparse().

#define YYPOPSTACK (  )     (yyvsp -= (N), yyssp -= (N))

Referenced by yyparse().

#define YYPURE   0

Definition at line 56 of file y.tab.c.

 
#define YYRECOVERING (  )     (!!yyerrstatus)

Definition at line 754 of file y.tab.c.

#define YYRHSLOC ( Rhs,
 )     ((Rhs)[K])

Definition at line 782 of file y.tab.c.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 257 of file y.tab.c.

#define YYSIZE_T   unsigned int

Definition at line 253 of file y.tab.c.

Referenced by yyparse().

#define YYSKELETON_NAME   "yacc.c"

Definition at line 53 of file y.tab.c.

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 335 of file y.tab.c.

Referenced by yyparse().

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 338 of file y.tab.c.

Referenced by yyparse().

#define YYSTACK_BYTES (  ) 

Value:

((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
      + YYSTACK_GAP_MAXIMUM)

Definition at line 382 of file y.tab.c.

Referenced by yyparse().

#define YYSTACK_FREE   YYFREE

Definition at line 336 of file y.tab.c.

Referenced by yyparse().

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 378 of file y.tab.c.

#define YYSTACK_RELOCATE ( Stack   ) 

Value:

do                                                                      \
      {                                                                 \
        YYSIZE_T yynewbytes;                                            \
        YYCOPY (&yyptr->Stack, Stack, yysize);                          \
        Stack = &yyptr->Stack;                                          \
        yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
        yyptr += yynewbytes / sizeof (*yyptr);                          \
      }                                                                 \
    while (YYID (0))

Definition at line 409 of file y.tab.c.

Referenced by yyparse().

#define yystype   YYSTYPE

Definition at line 194 of file y.tab.c.

#define YYSTYPE_IS_DECLARED   1

Definition at line 195 of file y.tab.c.

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 196 of file y.tab.c.

#define YYTABLE_NINF   -1

Definition at line 675 of file y.tab.c.

Referenced by yyparse().

#define YYTERROR   1

Definition at line 774 of file y.tab.c.

Referenced by yyparse().

#define YYTOKEN_TABLE   0

Definition at line 178 of file y.tab.c.

#define YYTRANSLATE ( YYX   )     ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 440 of file y.tab.c.

Referenced by yyparse().

#define YYUNDEFTOK   2

Definition at line 437 of file y.tab.c.

#define YYUSE (  )     ((void) (e))

Definition at line 273 of file y.tab.c.


Typedef Documentation

typedef short int yytype_int16

Definition at line 240 of file y.tab.c.

typedef short int yytype_int8

Definition at line 228 of file y.tab.c.

typedef unsigned short int yytype_uint16

Definition at line 234 of file y.tab.c.

typedef unsigned char yytype_uint8

Definition at line 219 of file y.tab.c.


Enumeration Type Documentation

Enumerator:
COMPARISON_OPERATOR 
NAME 
STRING 
INTNUM 
FLOATNUM 
ADD 
DROP 
COLUMN 
EQUAL 
SELECT 
FROM 
WHERE 
DELETE 
INSERT 
INTO 
VALUES 
UPDATE 
SET 
AND 
OR 
NOT 
ALTER 
TABLE 
CREATE 
NULL_VALUE 
VARCHAR 
INT 
INTEGER 
DOUBLE 
PRECISION 
DATE 
TIME 
ORDER 
BY 
IS 
ASC 
DESC 
COMPARISON_OPERATOR 
NAME 
STRING 
INTNUM 
FLOATNUM 
ADD 
DROP 
COLUMN 
EQUAL 
SELECT 
FROM 
WHERE 
DELETE 
INSERT 
INTO 
VALUES 
UPDATE 
SET 
AND 
OR 
NOT 
ALTER 
TABLE 
CREATE 
NULL_VALUE 
VARCHAR 
INT 
INTEGER 
DOUBLE 
PRECISION 
DATE 
TIME 
ORDER 
BY 
IS 
ASC 
DESC 

Definition at line 68 of file y.tab.c.


Function Documentation

int yylex ( void   ) 

int yyparse (  ) 


Variable Documentation

int yychar

Definition at line 1269 of file y.tab.c.

int yydebug

Definition at line 980 of file y.tab.c.

Definition at line 1272 of file y.tab.c.

int yynerrs

Definition at line 1275 of file y.tab.c.


Generated on Thu Jul 16 13:20:29 2009 for GRASS Programmer's Manual by  doxygen 1.5.6