41a42,44
> if str(type) == "State":
> self.error("States must in a State Declaration, not a normal enum.")
>
49,54d51
< if str(type) == "State":
< if not machine:
< self.error("State declaration not part of a machine.")
< s = State(self.symtab, self.field_id, self.location, self.pairs)
< machine.addState(s)
<