Fix enums. We can't turn _all_ enums into values, only the actual
commitbb5b108c342b889b404577badc907f7b84842e5d
authorLinus Torvalds <torvalds@home.transmeta.com>
Tue, 27 May 2003 04:06:33 +0000 (26 21:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 04:00:45 +0000 (7 21:00 -0700)
tree5009b80a71fc1bb04a9a66b423b3e5d6e906e284
parenta10932174ca47672bc8f62a5b98fbcfb34ee534b
Fix enums. We can't turn _all_ enums into values, only the actual
value symbols, of course.

Make the enum symbols have the SYM_ENUM type, and check that properly
at evaluate time (instead of checking the base type, which will be
an enum for regular enum variables too, of course).
evaluate.c
parse.c