bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Main] FYI Change any #line in bison.simple


From: Pascal Bart
Subject: [Main] FYI Change any #line in bison.simple
Date: Wed, 19 Sep 2001 21:26:03 +0000 (GMT)

Hello,

        this patch change any #line directives, which was wrong.

Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.211
diff -u -r1.211 ChangeLog
--- ChangeLog   2001/09/18 21:32:52     1.211
+++ ChangeLog   2001/09/19 19:22:47
@@ -1,3 +1,9 @@
+2001-09-19  Pascal Bart  <address@hidden>
+
+       * src/bison.simple: s/%%filename/%%skeleton.
+       * src/muscle_tab.c (getargs.h): Include it.
+       (muscle_init): Insert new muscle skeleton.
+
 2001-09-18  Pascal Bart  <address@hidden>

        * src/output.c (output_parser): Delete unused variable actions_dumped.
Index: src/bison.simple
===================================================================
RCS file: /cvsroot/bison/bison/src/bison.simple,v
retrieving revision 1.63
diff -u -r1.63 bison.simple
--- src/bison.simple    2001/08/31 18:30:21     1.63
+++ src/bison.simple    2001/09/19 19:22:48
@@ -366,7 +366,7 @@



-#line %%line "%%filename"
+#line %%line "%%skeleton"

 /* The user can define YYPARSE_PARAM as the name of an argument to be passed
    into yyparse.  The argument should have type void *.
@@ -760,7 +760,7 @@
     {
       %%action /* The action file replaces this line.  */
     }
-#line %%line "%%filename"
+#line %%line "%%skeleton"

   yyvsp -= yylen;
   yyssp -= yylen;
Index: src/muscle_tab.c
===================================================================
RCS file: /cvsroot/bison/bison/src/muscle_tab.c,v
retrieving revision 1.1
diff -u -r1.1 muscle_tab.c
--- src/muscle_tab.c    2001/09/02 15:27:27     1.1
+++ src/muscle_tab.c    2001/09/19 19:22:48
@@ -25,6 +25,7 @@
 #include "hash.h"
 #include "files.h"
 #include "muscle_tab.h"
+#include "getargs.h"

 struct hash_table muscle_table;

@@ -54,6 +55,9 @@
   /* Version and input file.  */
   muscle_insert ("version", VERSION);
   muscle_insert ("filename", infile);
+
+  /* Skeleton use.  */
+  muscle_insert ("skeleton", skeleton);

   /* Types.  */
   muscle_insert ("stype", "int");

Pascal Bart (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]