Akim Demaille wrote:

--- yylval-is-set.y     2018-08-19 09:32:34.985921138 +0200
+++ yylval-is-not-set.y 2018-08-19 09:33:04.246656396 +0200
@@ -4,7 +4,7 @@
    static int yylex (YYSTYPE *lvalp)
    {
      static char const *input = "aa";
-    *lvalp = 1;
+    //*lvalp = 1;
      return *input++;
    }
$ ~/src/gnu/bison/_build/8s/tests/bison yylval-is-set.y -o yylval-is-set.c

$ ~/src/gnu/bison/_build/8s/tests/bison yylval-is-not-set.y -o 
yylval-is-not-set.c

Could you please send me these .c files as attachments? That way, I won't have to reproduce the exact version of bison you're using. Thanks.

Reply via email to