Re: Flex: token value more than what regexp matches

2005-07-08 Thread Frans Englich
Hans, Vincent, Thanks for your suggestions -- it of course solved my problem. Cheers, Frans ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

RE: Flex: token value more than what regexp matches

2005-07-08 Thread Vincent Zweije
Frans Englich wrote: > The relevant parts in my Bison is: > > %union > { > int ival; > char *sval; > KDOM::XPath::ExpressionImpl *expr; > KDOM::XPath::ExpressionImpl::List *expressionList; > QPSingleType *singleType; KDOM::XPath::SharedQName *qName; > bool emptyAllowed;

Re: Flex: token value more than what regexp matches

2005-07-08 Thread Hans Aberg
On 7 Jul 2005, at 23:53, Frans Englich wrote: I have the problem that the value of a token appears to be more than what the regexp matches. When parsing the expression "fn:false()", I get a QNAME token with the value "fn:false" -- what I expect & want. However, when parsing the expression