Make these file generated in distribution.

This commit is contained in:
Bruce Momjian 1998-10-28 17:07:17 +00:00
parent 53b8ea58d3
commit f4ccb5e170
4 changed files with 4779 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.10 1998/10/19 00:00:51 tgl Exp $
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.11 1998/10/28 17:07:15 momjian Exp $
#
#-------------------------------------------------------------------------
@ -69,4 +69,4 @@ pl.tab.h: pl_gram.c
clean:
rm -f lib$(NAME).a $(shlib)
rm -f *.o y.tab.h pl.tab.h pl_gram.c gram.c pl_scan.c scan.c
rm -f *.o pl.tab.h pl_gram.c pl_scan.c

2469
src/pl/plpgsql/src/gram.c Normal file

File diff suppressed because it is too large Load Diff

2220
src/pl/plpgsql/src/scan.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,88 @@
typedef union {
int32 ival;
char *str;
struct {
char *name;
int lineno;
} varname;
struct {
int nalloc;
int nused;
int *dtnums;
} dtlist;
struct {
int reverse;
PLpgSQL_expr *expr;
} forilow;
struct {
char *label;
int n_initvars;
int *initvarnos;
} declhdr;
PLpgSQL_type *dtype;
PLpgSQL_var *var;
PLpgSQL_row *row;
PLpgSQL_rec *rec;
PLpgSQL_recfield *recfield;
PLpgSQL_trigarg *trigarg;
PLpgSQL_expr *expr;
PLpgSQL_stmt *stmt;
PLpgSQL_stmts *stmts;
PLpgSQL_stmt_block *program;
PLpgSQL_nsitem *nsitem;
} YYSTYPE;
#define K_ALIAS 258
#define K_ASSIGN 259
#define K_BEGIN 260
#define K_CONSTANT 261
#define K_DEBUG 262
#define K_DECLARE 263
#define K_DEFAULT 264
#define K_DOTDOT 265
#define K_ELSE 266
#define K_END 267
#define K_EXCEPTION 268
#define K_EXIT 269
#define K_FOR 270
#define K_FROM 271
#define K_IF 272
#define K_IN 273
#define K_INTO 274
#define K_LOOP 275
#define K_NOT 276
#define K_NOTICE 277
#define K_NULL 278
#define K_PERFORM 279
#define K_RAISE 280
#define K_RECORD 281
#define K_RENAME 282
#define K_RETURN 283
#define K_REVERSE 284
#define K_SELECT 285
#define K_THEN 286
#define K_TO 287
#define K_TYPE 288
#define K_WHEN 289
#define K_WHILE 290
#define T_FUNCTION 291
#define T_TRIGGER 292
#define T_CHAR 293
#define T_BPCHAR 294
#define T_VARCHAR 295
#define T_LABEL 296
#define T_STRING 297
#define T_VARIABLE 298
#define T_ROW 299
#define T_ROWTYPE 300
#define T_RECORD 301
#define T_RECFIELD 302
#define T_TGARGV 303
#define T_DTYPE 304
#define T_WORD 305
#define T_NUMBER 306
#define T_ERROR 307
#define O_OPTION 308
#define O_DUMP 309
extern YYSTYPE yylval;