]> git.saurik.com Git - bison.git/blobdiff - src/output.c
* src/bison.simple: New `#line' directive.
[bison.git] / src / output.c
index bf1da13b3292635fbb6e15632d4d40e8f16840da..6706af61722b7609106a4ffbf00430311b5c9d4f 100644 (file)
@@ -991,6 +991,8 @@ output_parser (const char *skel_filename, struct obstack *oout)
            obstack_sgrow (oout, muscle_value);
          else if (!strcmp (muscle_key, "line"))
            obstack_fgrow1 (oout, "%d", line + 1);
+         else if (!strcmp (muscle_key, "input_line"))
+           obstack_fgrow1 (oout, "%d", lineno + 1);
          else if (!strcmp (muscle_key, "action"))
            {
              size_t size = obstack_object_size (&action_obstack);