Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
51e8a1d3
Commit
51e8a1d3
authored
Jan 28, 1999
by
Jan Wieck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New prebuilt versions of gram.c and scan.c for the mixed case
identifier support. Jan
parent
c42b959f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
243 additions
and
265 deletions
+243
-265
src/pl/plpgsql/src/gram.c
src/pl/plpgsql/src/gram.c
+22
-8
src/pl/plpgsql/src/scan.c
src/pl/plpgsql/src/scan.c
+221
-257
No files found.
src/pl/plpgsql/src/gram.c
View file @
51e8a1d3
...
...
@@ -65,7 +65,7 @@
* procedural language
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/gram.c,v 1.
2 1998/12/18 19:45:38 momjian
Exp $
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/gram.c,v 1.
3 1999/01/28 11:50:41 wieck
Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
...
...
@@ -414,7 +414,7 @@ static const short yycheck[] = { 21,
152
,
62
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/usr/
local/bison
/bison.simple"
#line 3 "/usr/
share
/bison.simple"
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
...
...
@@ -467,6 +467,16 @@ void *alloca ();
#endif
/* not GNU C. */
#endif
/* alloca not defined. */
#ifdef __cplusplus
extern
"C"
{
void
yyerror
(
char
*
);
int
yylex
();
};
#else
extern
void
yyerror
(
char
*
);
extern
int
yylex
();
#endif
/* This is the parser code that is written into each bison parser
when the %semantic_parser declaration is not specified in the grammar.
It was written by Richard Stallman by simplifying the hairy parser
...
...
@@ -563,9 +573,13 @@ int yydebug; /* nonzero means print parse trace */
#define YYMAXDEPTH 10000
#endif
#ifndef YYPARSE_RETURN_TYPE
#define YYPARSE_RETURN_TYPE int
#endif
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__
int
yyparse
(
void
);
YYPARSE_RETURN_TYPE
yyparse
(
void
);
#endif
#if __GNUC__ > 1
/* GNU C and GNU C++ define this. */
...
...
@@ -607,7 +621,7 @@ __yy_memcpy (char *to, char *from, int count)
#endif
#endif
#line 196 "/usr/
local/bison
/bison.simple"
#line 196 "/usr/
share
/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
...
...
@@ -628,7 +642,7 @@ __yy_memcpy (char *to, char *from, int count)
#define YYPARSE_PARAM_DECL
#endif
/* not YYPARSE_PARAM */
int
YYPARSE_RETURN_TYPE
yyparse
(
YYPARSE_PARAM_ARG
)
YYPARSE_PARAM_DECL
{
...
...
@@ -1086,7 +1100,7 @@ case 23:
char
*
name
;
plpgsql_ns_setlocal
(
false
);
name
=
plpgsql_tolower
(
pstrdup
(
yytext
)
);
name
=
plpgsql_tolower
(
yytext
);
if
(
name
[
0
]
!=
'$'
)
{
elog
(
ERROR
,
"can only alias positional parameters"
);
}
...
...
@@ -1116,7 +1130,7 @@ case 25:
case
26
:
#line 376 "gram.y"
{
yyval
.
str
=
plpgsql_tolower
(
pstrdup
(
yytext
)
);
yyval
.
str
=
plpgsql_tolower
(
yytext
);
;
break
;}
case
27
:
...
...
@@ -1891,7 +1905,7 @@ case 105:
break
;}
}
/* the action file gets copied in in place of this dollarsign */
#line 498 "/usr/
local/bison
/bison.simple"
#line 498 "/usr/
share
/bison.simple"
yyvsp
-=
yylen
;
yyssp
-=
yylen
;
...
...
src/pl/plpgsql/src/scan.c
View file @
51e8a1d3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment