[Nickle]Declaring a variable name, replacing previously defined type?

Carl Worth nickle@nickle.org
Fri, 26 Jul 2002 11:32:46 +0000


Would this be reasonable to support?

	> typedef foo;
	> int foo;
	parse error before "foo"

It would be handy in interactive settings for people like me that have
trouble coming up with more than two unique identifiers.

I'm not awake enough yet to think about whether this would introduce
ambiguities in the grammar or any other potential problem.

-Carl

-- 
Carl Worth                                        
USC Information Sciences Institute                 cworth@east.isi.edu
3811 N. Fairfax Dr. #200, Arlington VA 22203		  703-812-3725