X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcql.y;fp=src%2Fcql.y;h=cf6995e22468349188bfc311bb11e89a653c53ec;hb=fe43747dc04ccff2ca97a4ab18b5309abe1eb4e4;hp=128dc8744b8d56446d75eafbb1c956ef5d9ccf9e;hpb=071a48812788dd82208ab9b719e4ecfac6ff0720;p=yaz-moved-to-github.git diff --git a/src/cql.y b/src/cql.y index 128dc87..cf6995e 100644 --- a/src/cql.y +++ b/src/cql.y @@ -162,10 +162,10 @@ searchTerm extraTerms { ; extraTerms: -extraTerms SIMPLE_STRING { +SIMPLE_STRING extraTerms { struct cql_node *st = cql_node_mk_sc(((CQL_parser) parm)->nmem, - /* index */ 0, /* rel */ 0, $2.buf); - st->u.st.extra_terms = $1.cql; + /* index */ 0, /* rel */ 0, $1.buf); + st->u.st.extra_terms = $2.cql; $$.cql = st; } |