|
From: | Hans Aberg |
Subject: | Re: FYI: default %printer/%destructor |
Date: | Sat, 25 Nov 2006 13:18:12 +0100 |
On 25 Nov 2006, at 03:00, Joel E. Denny wrote:
You would need a rule telling, in the case of multiple occurrences, when thedefault names can be used.I addressed the problem of ambiguous names here:http://lists.gnu.org/archive/html/bison-patches/2006-11/ msg00039.html
I looked at it, before my post, now that the mail list server is up again.
You are into the idea that the unused variables should be expressed via the grammar language. It is a wholly unusual way to do it via a computer language: normally it is a compiler option.
So I am working along the lines of a compiler option that can be temporarily turned on in the case one needs to check unused variables. This would then simplify the implementation of new grammar language features, as the past discussion has shown.
I have myself little use of an unused variables feature, making it difficult for me to focus on it - so I leave it to you to decide it (which you, as developer, will do anyway :-)). My main concern is that it should not conflict with anything else that might be implemented later, like an eventual EBNF, or something else that might come up.
Hans Aberg
[Prev in Thread] | Current Thread | [Next in Thread] |