Opened 9 years ago
Closed 9 years ago
#943 closed defect (fixed)
resolve bison conflicts
Reported by: | Peter Baumann | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | trivial | Milestone: | Future |
Component: | qlparser | Version: | development |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Trivial |
Description
there are conflicts which can be resolved easily: by removing the unused pyramid rules from everywhere. Was an earlier approach that has been abandoned.
$ make oql.cc
/bin/bash ../ylwrap oql.yy y.tab.c oql.cc y.tab.h echo oql.cc | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/
y.output oql.output — bison -y -y
/home/baumann/10-secr/Tech/rasdaman-enterprise/rasdaman/qlparser/oql.yy:1309.17-24: warning: type clash on default action: <identifierToken> != <castTypes> [-Wother]
| castType
/home/baumann/10-secr/Tech/rasdaman-enterprise/rasdaman/qlparser/oql.yy: warning: 1 nonterminal useless in grammar [-Wother]
/home/baumann/10-secr/Tech/rasdaman-enterprise/rasdaman/qlparser/oql.yy: warning: 1 rule useless in grammar [-Wother]
/home/baumann/10-secr/Tech/rasdaman-enterprise/rasdaman/qlparser/oql.yy:3201.1-7: warning: nonterminal useless in grammar: pyrName [-Wother]
pyrName: Identifier;
/home/baumann/10-secr/Tech/rasdaman-enterprise/rasdaman/qlparser/oql.yy:3201.10-19: warning: rule useless in grammar [-Wother]
pyrName: Identifier;
/home/baumann/10-secr/Tech/rasdaman-enterprise/rasdaman/qlparser/oql.yy: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
/home/baumann/10-secr/Tech/rasdaman-enterprise/rasdaman/qlparser/oql.yy: warning: 80 reduce/reduce conflicts [-Wconflicts-rr]
Change History (4)
comment:1 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
Owner: | changed from | to
---|
comment:3 by , 9 years ago
Owner: | changed from | to
---|
comment:4 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
close as patch was accepted.