Le 13 déc. 2013 à 20:40, Arthur Schwarz <aschwarz1...@att.net> a écrit :
> The following program: > > ----- code ----- > %language "Java" > %start start > %token TOKEN > %% > start : start '+' TOKEN > | TOKEN > ; > %% > > ----- end code ----- > > yields the following result: > x.y: fatal error: "lalr1.java": %defines does not make sense in Java > > There is no %defines in the code. Please, when you make bug reports, make them complete. You did use ‘-d’ in the command line when invoking Bison, which is equivalent to %defines. So the message is inaccurate, agreed, but not plain wrong. Contributions to improve the error messages, without cluttering the code, will be gladly accepted.