[Prev][Next][Index]

Re: another unparser problem



>Consider the following arcane, but probably legal, definition from 

>math.h / stdlib.h on the SGI Power Challenge (IRIX 6):
>
>	extern long nrand48(unsigned short [3]);
>
>This unparses in PC++ as:
>
>	extern long nrand48(unsigned short  );
>
>which is clearly wrong.


Fixed. It now unparses to:

extern long  nrand48(unsigned short  [(3)]);


Well, those extra parentheses inside [] aren't pretty, but they are  
harmless and I have not yet figured out what could break if I tried  
to remove them.   --Beata