C declaration tool

utzoo!decvax!harpo!utah-cs!utah-gr!thomas utzoo!decvax!harpo!utah-cs!utah-gr!thomas
Sun Apr 10 00:45:24 AEST 1983


Nice idea (the @ syntax for pointers), but you didn't take it quite far
enough.  Your example was
       char fpa[]@()@;

	char fpa	declare fpa as
	[]		an array of
	@		pointer to
	()		function returning
	@		pointer to
			char

This should obviously be
       fpa[]@()@ char;
since otherwise you have to remember the "char" until the end.

=Spencer :=)



More information about the Comp.lang.c mailing list