The name of the state was DecayMinor. Renaming it to State1 yielded the same syntax error. I tried using both "" and `` to see if that was causing the syntax error but that didn't seem to be the case.
That's very strange, i use the named ones all the time and never had that. I'll look more into it