Howcome, when you have enabled %location, the yylocationp parameter in 
yysymprint is not passed to YYPRINT ?

static void
yysymprint (yyoutput, yytype, yyvaluep, yylocationp)
    FILE *yyoutput;
    int yytype;
    YYSTYPE *yyvaluep;
    YYLTYPE *yylocationp;  <=== It is there

# ifdef YYPRINT
      YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);  <=== it is missing
# endif

 when %location is specified, I am actually interested in the locations.

Is there a formel way to request this feature in bison ?

Henrik


_______________________________________________
Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to