[Top][All Lists]

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

A bug in bison-2.4.1

From: Nuwan
Subject: A bug in bison-2.4.1
Date: Sat, 27 Jun 2009 00:30:50 +0530

Bison generated C++ code. Consist with following simple bug.
version - 2.4.1
skeleton - lalr1.cc

For every prefix & every class name it generates the same define guard
PARSER_HEADER_H, to guard the parser class. This causes to two parsers
un-usable in the same program.

Suggestion : Prefix the macro with provided class name.
A.M Nuwan Abeysinghe

reply via email to

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