Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No errors shown with incorrect models #11

Closed
codingpark-games opened this issue Jun 14, 2016 · 1 comment
Closed

No errors shown with incorrect models #11

codingpark-games opened this issue Jun 14, 2016 · 1 comment
Labels

Comments

@codingpark-games
Copy link

If you create an statemachine model with this

events
Xxx yyy
end

and then you modify it with

eve***nts
Xxx yyy
end

no error is shown in the live demo.
If you do it in Eclipse with the statemachine project example, it will show you an error, the typical "missing EOF" at 'eve'.

@amlajmi
Copy link
Contributor

amlajmi commented Sep 6, 2016

The problem was in antlr-all.js, just added a call to recover after reporting the recognition exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants