Closed GoogleCodeExporter closed 9 years ago
Further to this, try:
---Grammar---
S ::= "IFR" IFR ;
IFR ::= "=" ;
IFR ::= "<" ;
---Output---
testAbs> p -cat=IFR "="
no trees found; unknown words: =
------------
Again, naming rules makes this go away. Similarly, removing the "<" rule makes
the problem go away.
Original comment by moh...@gmail.com
on 29 Sep 2010 at 4:19
The CF parser in GF.Grammar.CF assigns function names to the rules, but they
are not always unique, causing rules to be dropped in the following CF->GF
conversion. So a pass has been added before the CF->GF conversion, to make
sure that function names are unique.
Original comment by hallg...@chalmers.se
on 11 Nov 2013 at 5:05
Original issue reported on code.google.com by
moh...@gmail.com
on 29 Sep 2010 at 3:24