On Mon, May 29, 2000 at 05:19:26PM +0200, Andreas Persenius wrote:
> The following code generates a parse error:
>
> %h{
> #include <gtk/gtk.h>
> enum {
> ONE,
> TWO,
> TOTAL
> }
> %}
>
> class The:Class from Gtk:Widget {
> private char text[TWO];
> }
>
> It works fine if you replace TWO with 2.
Ok, fixed. It will now accept an identifier as part of the array dimension.
George
-- George <jirka_at_5z.com> Where all men think alike, no one thinks very much. -- Walter LippmannReceived on Tue May 30 2000 - 11:07:28 CDT
This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:05:02 CDT