(Conditions): Say that the exceptions apply only to C LALR(1) parsers.

This commit is contained in:
Paul Eggert
2002-09-07 06:33:29 +00:00
parent 0252b55c07
commit 262aa8dd59

View File

@@ -305,9 +305,9 @@ This edition corresponds to version @value{VERSION} of Bison.
@unnumbered Conditions for Using Bison @unnumbered Conditions for Using Bison
As of Bison version 1.24, we have changed the distribution terms for As of Bison version 1.24, we have changed the distribution terms for
@code{yyparse} to permit using Bison's output in nonfree programs. @code{yyparse} to permit using Bison's output in nonfree programs when
Formerly, Bison parsers could be used only in programs that were free Bison is generating C code for LALR(1) parsers. Formerly, these
software. parsers could be used only in programs that were free software.
The other GNU programming tools, such as the GNU C compiler, have never The other GNU programming tools, such as the GNU C compiler, have never
had such a requirement. They could always be used for nonfree had such a requirement. They could always be used for nonfree
@@ -329,6 +329,13 @@ encourage people to make other software free. So we decided to make the
practical conditions for using Bison match the practical conditions for practical conditions for using Bison match the practical conditions for
using the other GNU tools. using the other GNU tools.
This exception applies only when Bison is generating C code for a
LALR(1) parser; otherwise, the GPL terms operate as usual. You can
tell whether the exception applies to your @samp{.c} output file by
inspecting it to see whether it says ``As a special exception, when
this file is copied by Bison into a Bison output file, you may use
that output file without restriction.''
@include gpl.texi @include gpl.texi
@node Concepts @node Concepts