Skip to content

END-IF May Produce NPE While Typing #1072

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

Closed
temanbrcom opened this issue Sep 1, 2021 · 0 comments · Fixed by #1090
Closed

END-IF May Produce NPE While Typing #1072

temanbrcom opened this issue Sep 1, 2021 · 0 comments · Fixed by #1090
Assignees
Labels
bug Something isn't working
Milestone

Comments

@temanbrcom
Copy link
Contributor

temanbrcom commented Sep 1, 2021

Description

END after IF statement may be recognized as the END PROGRAM statement and produce NPE.

Steps to reproduce

  1. Add IF THEN statement.
  2. Add a correct DISPLAY statement.
  3. Type END.
  4. See server freezes.

Expected behavior

The document is parsed as expected.

@temanbrcom temanbrcom added the bug Something isn't working label Sep 1, 2021
@temanbrcom temanbrcom self-assigned this Sep 1, 2021
temanbrcom added a commit that referenced this issue Sep 3, 2021
@zimlu02 zimlu02 added this to the 0.21.1 milestone Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants