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

unhelpful error message when keyword is capitalized #14

Open
derrell opened this issue Jul 31, 2014 · 0 comments
Open

unhelpful error message when keyword is capitalized #14

derrell opened this issue Jul 31, 2014 · 0 comments

Comments

@derrell
Copy link
Owner

derrell commented Jul 31, 2014

Issue by derrell
Fri Jul 11 13:02:14 2014
Originally opened as https://github.com/derrell/AppDeveloper/issues/50


See test t070. An accidentally-uppercased keyword such as While is taken as an identifier (and possible function call), so the error message is meaningless. Possible improvement is to keep track of tokens that are mis-capitalizations of keywords, when the "Maybe you forgot a semicolon" message is to be displayed, check for one found, and show it as a possible error.

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

No branches or pull requests

1 participant