bison-patches
[Top][All Lists]
Advanced

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

Re: License issues in Bison


From: Akim Demaille
Subject: Re: License issues in Bison
Date: 06 Sep 2002 10:07:18 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

>>>>> "Paul" == Paul Eggert <address@hidden> writes:

>> From: Akim Demaille <address@hidden> Date: 05 Sep 2002 08:45:14
>> +0200
>> 
>> Well, then I'm in favor of having the exception apply _only_ to
>> yacc.c.  Is everybody OK with this?

Paul> Yes, that's fine with me.

Here is my proposal.  I'm not sure of the rewording :(

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * doc/bison.texinfo (Conditions): Make explicit that the GPL
        exception applies only to yacc.c.
        * data/c.m4 (b4_copyright): Move the GPL exception comment from
        here to...
        * data/yacc.c: here.

Index: data/c.m4
===================================================================
RCS file: /cvsroot/bison/bison/data/c.m4,v
retrieving revision 1.4
diff -u -u -r1.4 c.m4
--- data/c.m4 25 Jul 2002 19:34:54 -0000 1.4
+++ data/c.m4 6 Sep 2002 08:07:56 -0000
@@ -44,12 +44,7 @@
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
-
-/* As a special exception, when this file is copied by Bison into a
-   Bison output file, you may use that output file without restriction.
-   This special exception was added by the Free Software Foundation
-   in version 1.24 of Bison.  */])
+   Boston, MA 02111-1307, USA.  */])
 
 
 ## ------------ ##
Index: data/yacc.c
===================================================================
RCS file: /cvsroot/bison/bison/data/yacc.c,v
retrieving revision 1.13
diff -u -u -r1.13 yacc.c
--- data/yacc.c 4 Sep 2002 12:03:01 -0000 1.13
+++ data/yacc.c 6 Sep 2002 08:07:57 -0000
@@ -130,6 +130,11 @@
 b4_copyright([Skeleton parser for Yacc-like parsing with Bison],
              [1984, 1989, 1990, 2000, 2001, 2002])
 
+/* As a special exception, when this file is copied by Bison into a
+   Bison output file, you may use that output file without restriction.
+   This special exception was added by the Free Software Foundation
+   in version 1.24 of Bison.  */
+
 /* Written by Richard Stallman by simplifying the original so called
    ``semantic'' parser.  */
 
@@ -1255,7 +1260,12 @@
 m4_if(b4_defines_flag, 0, [],
 [#output "b4_output_header_name"
 b4_copyright([Skeleton parser for Yacc-like parsing with Bison],
-              [1984, 1989, 1990, 2000, 2001, 2002])
+             [1984, 1989, 1990, 2000, 2001, 2002])
+
+/* As a special exception, when this file is copied by Bison into a
+   Bison output file, you may use that output file without restriction.
+   This special exception was added by the Free Software Foundation
+   in version 1.24 of Bison.  */
 
 #ifndef b4_header_guard
 # define b4_header_guard
Index: doc/bison.texinfo
===================================================================
RCS file: /cvsroot/bison/bison/doc/bison.texinfo,v
retrieving revision 1.67
diff -u -u -r1.67 bison.texinfo
--- doc/bison.texinfo 29 Jul 2002 17:30:33 -0000 1.67
+++ doc/bison.texinfo 6 Sep 2002 08:08:01 -0000
@@ -305,9 +305,9 @@
 @unnumbered Conditions for Using Bison
 
 As of Bison version 1.24, we have changed the distribution terms for
address@hidden to permit using Bison's output in nonfree programs.
-Formerly, Bison parsers could be used only in programs that were free
-software.
+LALR(1)'s @code{yyparse} to permit using Bison's Yacc emulation's output
+in nonfree programs.  Formerly, Bison's Yacc compatible parsers could be
+used only in programs that were free software.
 
 The other GNU programming tools, such as the GNU C compiler, have never
 had such a requirement.  They could always be used for nonfree
@@ -328,6 +328,10 @@
 encourage people to make other software free.  So we decided to make the
 practical conditions for using Bison match the practical conditions for
 using the other GNU tools.
+
+This exception applies only to Yacc's emulation, implemented by the
address@hidden skeletong: it does not apply to other skeletons such as
+the GLR parsers.
 
 @include gpl.texi
 




reply via email to

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