|
From: | Joel E. Denny |
Subject: | Re: %destructor feedback |
Date: | Tue, 6 Dec 2005 14:57:30 -0500 (EST) |
On Tue, 6 Dec 2005, Paul Eggert wrote:
"Joel E. Denny" <address@hidden> writes:Does this work for you? #define YYUSE(v) ((v) = (v))No, yysymprint() declares its yyvaluep param const.Let's remove the const, then. There's little point to declaring auto variables to be 'const'.
That's fine with me, but what if someone declares a parse param as const? Moreover, for C++, could an overloaded assignment with strange semantics have an unexpected effect?
Joel
[Prev in Thread] | Current Thread | [Next in Thread] |