X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcql.y;h=cf6995e22468349188bfc311bb11e89a653c53ec;hp=128dc8744b8d56446d75eafbb1c956ef5d9ccf9e;hb=67263adf9c8efbd384b09ec71b98844ce7c7d2bf;hpb=ca293278a7d1a064c21d35df8ee00cf6d3ed6936 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; } |