Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LDI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eva Feng
LDI
Commits
e7e1e068
Commit
e7e1e068
authored
5 years ago
by
w328li
Browse files
Options
Downloads
Patches
Plain Diff
fix term
parent
40902413
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
SQLPGrammar_new.tab.c
+2
-2
2 additions, 2 deletions
SQLPGrammar_new.tab.c
SQLPGrammar_new.y
+2
-2
2 additions, 2 deletions
SQLPGrammar_new.y
SQLPParser_new
+0
-0
0 additions, 0 deletions
SQLPParser_new
with
4 additions
and
4 deletions
SQLPGrammar_new.tab.c
+
2
−
2
View file @
e7e1e068
...
@@ -1719,7 +1719,7 @@ yyreduce:
...
@@ -1719,7 +1719,7 @@ yyreduce:
#line 277 "SQLPGrammar_new.y"
/* yacc.c:1646 */
#line 277 "SQLPGrammar_new.y"
/* yacc.c:1646 */
{
{
printf
(
"Term 1
\n
"
);
printf
(
"Term 1
\n
"
);
(
yyval
)
=
create_constant
(
(
yyvsp
[
0
])
)
;
(
yyval
)
=
(
yyvsp
[
0
]);
}
}
#line 1725 "SQLPGrammar_new.tab.c"
/* yacc.c:1646 */
#line 1725 "SQLPGrammar_new.tab.c"
/* yacc.c:1646 */
break
;
break
;
...
@@ -1728,7 +1728,7 @@ yyreduce:
...
@@ -1728,7 +1728,7 @@ yyreduce:
#line 282 "SQLPGrammar_new.y"
/* yacc.c:1646 */
#line 282 "SQLPGrammar_new.y"
/* yacc.c:1646 */
{
{
printf
(
"Term 2
\n
"
);
printf
(
"Term 2
\n
"
);
(
yyval
)
=
create_col
(
(
yyvsp
[
0
])
)
;
(
yyval
)
=
(
yyvsp
[
0
]);
}
}
#line 1734 "SQLPGrammar_new.tab.c"
/* yacc.c:1646 */
#line 1734 "SQLPGrammar_new.tab.c"
/* yacc.c:1646 */
break
;
break
;
...
...
This diff is collapsed.
Click to expand it.
SQLPGrammar_new.y
+
2
−
2
View file @
e7e1e068
...
@@ -276,12 +276,12 @@ Term
...
@@ -276,12 +276,12 @@ Term
: Constant
: Constant
{
{
printf("Term 1\n");
printf("Term 1\n");
$$ =
create_constant(
$1
)
;
$$ = $1;
}
}
| Col
| Col
{
{
printf("Term 2\n");
printf("Term 2\n");
$$ =
create_col(
$1
)
;
$$ = $1;
}
}
...
...
This diff is collapsed.
Click to expand it.
SQLPParser_new
+
0
−
0
View file @
e7e1e068
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment