Re: Is there a replacement for yychar

2014-12-12 Thread Hans Aberg
> On 12 Dec 2014, at 14:13, Matthias Simon wrote: > > On 2014-12-12 12:51, Hans Aberg wrote: >>> if [ $($BISON --version | head 1 | ...) -lt 3 ]; then >>> write_header_config "#define yychar yyla.type” >>> fi >> >> Right. It might suffice to put it directly in the .yy file, as later >> versio

Re: Is there a replacement for yychar

2014-12-12 Thread Matthias Simon
On 2014-12-12 12:51, Hans Aberg wrote: if [ $($BISON --version | head 1 | ...) -lt 3 ]; then write_header_config "#define yychar yyla.type” fi Right. It might suffice to put it directly in the .yy file, as later version do not seem to have yychar. Whereas later versions do not have yychar, o

Re: Is there a replacement for yychar

2014-12-12 Thread Hans Aberg
> On 12 Dec 2014, at 07:35, Matthias Simon wrote: > >> It is probably best to stick to the newer version only, to avoid bugs. > Sadly, that is not really an option for me (due to outdated targets, high > variety of developer-machines, difficulties with non-standard > installations,...). Hence,