Fix #8773: allow syntax error state.foo in requisites with a warning.
Merge pull request #8823 from regilero/requisites-fix

Fix #8773: allow syntax error state.foo in requisites with a warning.