[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Java generator fatal error message
From: |
Akim Demaille |
Subject: |
Re: Java generator fatal error message |
Date: |
Sun, 15 Dec 2013 12:20:42 +0100 |
Le 13 déc. 2013 à 20:40, Arthur Schwarz <address@hidden> 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.
- There are some tabs in the generated files, Arthur Schwarz, 2013/12/07
- Re: There are some tabs in the generated files, Akim Demaille, 2013/12/09
- location.hh position.hh files generated with %location directive, Arthur Schwarz, 2013/12/12
- Manual corrections, Arthur Schwarz, 2013/12/13
- Java generator fatal error message, Arthur Schwarz, 2013/12/13
- api.push-pull push inconsistently defined for Java, Arthur Schwarz, 2013/12/13
- yypush_parse not fully defined, Arthur Schwarz, 2013/12/14
- api.token.constructor not described accurately,, Arthur Schwarz, 2013/12/14
- Re: api.token.constructor not described accurately,, Arthur Schwarz, 2013/12/14
- Re: Java generator fatal error message,
Akim Demaille <=