[Top][All Lists]

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

Re: Missing warning

From: Frank Heckenbach
Subject: Re: Missing warning
Date: Sat, 29 May 2004 01:40:55 +0200
User-agent: semail 20040101

address@hidden wrote:

> My suggestion is to print a warning if a semantic action but no "$$=" is
> found. The default action "$$=$1" might be wrong in many cases.

I doesn't necessarily have to look like `$$=...'. Parsing the C code
is probably a bit too much to expect from bison.

It might be nice if it's possible to arrange things so it will
trigger some kind of "undefined" value from the compiler, but I
guess that'll at least require some hacking of the skeleton files.
(I don't know the details, but you can try it for yourself, and
report if you have success.)


Frank Heckenbach, address@hidden
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)

reply via email to

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