#943 closed defect (fixed)

resolve bison conflicts

Reported by: pbaumann Owned by: bphamhuu
Priority: trivial Milestone: Future
Component: qlparser Version: development
Keywords: Cc: dmisev
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 Changed 16 months ago by dmisev

  • Owner changed from vzamfir to bphamhuu
  • Status changed from new to assigned

comment:2 Changed 16 months ago by dmisev

  • Owner changed from bphamhuu to vzamfir

comment:3 Changed 15 months ago by bphamhuu

  • Owner changed from vzamfir to bphamhuu

close as patch was accepted.

comment:4 Changed 15 months ago by bphamhuu

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.