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
19c4197b
Commit
19c4197b
authored
Jan 25, 2001
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Synced gram.y and preproc.y.
parent
7e44f8f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/ChangeLog
+4
-0
src/interfaces/ecpg/preproc/preproc.y
src/interfaces/ecpg/preproc/preproc.y
+8
-8
No files found.
src/interfaces/ecpg/ChangeLog
View file @
19c4197b
...
...
@@ -1043,5 +1043,9 @@ Mon Jan 22 17:56:02 CET 2001
Tue Jan 23 08:54:14 CET 2001
- Moved database name handling to libecpg.
Thu Jan 25 21:14:38 CET 2001
- Synced gram.y and preproc.y.
- Set ecpg version to 2.8.0.
- Set library version to 3.2.0.
src/interfaces/ecpg/preproc/preproc.y
View file @
19c4197b
...
...
@@ -263,16 +263,16 @@ make_name(void)
%nonassoc OVERLAPS
%nonassoc BETWEEN
%nonassoc IN
%left POSTFIXOP /* dummy for postfix Op rules */
%left Op /* multi-character ops and user-defined operators */
%nonassoc NOTNULL
%nonassoc ISNULL
%nonassoc NULL_P
%nonassoc IS
%nonassoc IS NULL_P TRUE_P FALSE_P
%left '+' '-'
%left '*' '/' '%'
%left '^'
/* Unary Operators */
%left AT
%left AT
ZONE
%right UMINUS
%left '.'
%left '[' ']'
...
...
@@ -3300,7 +3300,7 @@ a_expr: c_expr
{ $$ = cat_str(3, $1, $2, $3); }
| Op a_expr
{ $$ = cat2_str($1, $2); }
| a_expr Op
| a_expr Op
%prec POSTFIXOP
{ $$ = cat2_str($1, $2); }
| a_expr AND a_expr
{ $$ = cat_str(3, $1, make_str("and"), $3); }
...
...
@@ -3345,11 +3345,11 @@ a_expr: c_expr
{ $$ = cat2_str($1, make_str("is false")); }
| a_expr IS NOT TRUE_P
{ $$ = cat2_str($1, make_str("is not true")); }
| a_expr BETWEEN b_expr AND b_expr
| a_expr BETWEEN b_expr AND b_expr
%prec BETWEEN
{
$$ = cat_str(5, $1, make_str("between"), $3, make_str("and"), $5);
}
| a_expr NOT BETWEEN b_expr AND b_expr
| a_expr NOT BETWEEN b_expr AND b_expr
%prec BETWEEN
{
$$ = cat_str(5, $1, make_str("not between"), $4, make_str("and"), $6);
}
...
...
@@ -3361,7 +3361,7 @@ a_expr: c_expr
{
$$ = cat_str(3, $1, make_str(" not in "), $4);
}
| a_expr all_Op sub_type select_with_parens
| a_expr all_Op sub_type select_with_parens
%prec Op
{
$$ = cat_str(4, $1, $2, $3, $4);
}
...
...
@@ -3417,7 +3417,7 @@ b_expr: c_expr
{ $$ = cat_str(3, $1, $2, $3); }
| Op b_expr
{ $$ = cat2_str($1, $2); }
| b_expr Op
| b_expr Op
%prec POSTFIXOP
{ $$ = cat2_str($1, $2); }
;
...
...
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