parser: fix shift/reduce conflicts and errors by setting precedence for '(' and '-'

This commit is contained in:
Jean-Francois Dockes 2015-01-29 17:22:07 +01:00
parent 3fb7183eae
commit b605dcfb65

View File

@ -49,7 +49,7 @@ static void addSubQuery(WasaParserDriver *d,
%left <str> WORD
%left <str> QUOTED
%left <str> QUALIFIERS
%left AND UCONCAT
%left AND UCONCAT '(' '-'
%left OR
%token EQUALS CONTAINS SMALLEREQ SMALLER GREATEREQ GREATER