bug-bison
[Top][All Lists]
Advanced

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

Bison-1.28a Skeleton file #line suggest


From: Hans Aberg
Subject: Bison-1.28a Skeleton file #line suggest
Date: Thu, 5 Oct 2000 10:37:20 +0200

The skeleton file bison.s1 now has lines of the form "#line" only --
perhaps the idea is that the rest of the "#line" directive should be
supplied by "make".

It strikes me though that it would be better to allow one having lines with
%line
in the skeleton file, and Bison then supplies the complete
#line <line-number> "<file-name>"

-- The thing is, that with this construct, it is easier to treat the
skeleton file as just another source file; one can edit it after the Bison
sources have been compiled. (And not so difficult to implement either.)

  Hans Aberg





reply via email to

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