help-bison
[Top][All Lists]
Advanced

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

Do parsers produced with C++ Skeleton Parser (lalr1.cc) have a sp ecial


From: Kryuchkov.Alexey
Subject: Do parsers produced with C++ Skeleton Parser (lalr1.cc) have a sp ecial exception from GPL?
Date: Tue, 18 Feb 2003 11:55:51 -0800

Dear Bison creators/maintainers,

 

I noticed that C++ Skeleton Parser doesn't have a special exception from GPL license the same way C parser has.

Does it mean that C++ parsers can't be used in commercial applications?

If this is the case, it is kind of sad that C has an advantage over C++ in terms of licensing. L

 

Thanks,

Alexey

 

--------------------------

From yacc.c:

 

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.  */

 

/* All symbols defined below should begin with yy or YY, to avoid

   infringing on user name space.  This should be done even for local

   variables, as they might otherwise be expanded by user macros.

   There are some unavoidable exceptions within include files to

   define necessary library symbols; they are noted "INFRINGES ON

   USER NAME SPACE" below.  */

 

]b4_identification

 

 

-----------------------------

From lalr1/cc:

 

b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],

             [2002])[

/* FIXME: This is wrong, we want computed header guards.

   I don't know why the macros are missing now. :( */

#ifndef PARSER_HEADER_H

# define PARSER_HEADER_H

 

#include "stack.hh"

#include "location.hh"

 

...

 

 


reply via email to

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