Thanks for the enum fix but...


Thanks for sending me the enum fix. It worked. However, I have another
problem concerning enums. If the user writes something like:

enum myEnum { a, b };
enum myEnum fun(int a, int b);

The code generated by unparse is:

enum myEnum { a, b };
enum myEnum fun;

This causes the compiler to fail when it encounters a call to 'fun',
because it is defined as a variable. Thanks a lot.


Diego Novillo (diego@cs.ualberta.ca)    |      Dept of Computing Science
WWW http://web.cs.ualberta.ca/~diego    |          University of Alberta
Use 'finger' to get my PGP public key   |     Edmonton, Alberta - Canada