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

fix #440, a hanging def no longer crashes the compiler #441

Merged
merged 1 commit into from May 24, 2016
Merged

fix #440, a hanging def no longer crashes the compiler #441

merged 1 commit into from May 24, 2016

Conversation

ghost
Copy link

@ghost ghost commented May 24, 2016

Fixes #440, where a hanging def or stream would crash the compiler. No test cases are included due to the complexity of testing for compiler errors and the imminent rework of the testing system.

class Foo
  def

will now give a parsing error:

"foo.enc" (line 4, column 1):
unexpected end of input
expecting identifier

instead of crashing the compiler.

@EliasC
Copy link
Contributor

EliasC commented May 24, 2016

Looks good! Merging in a bit...

@EliasC EliasC merged commit 3af75e6 into parapluu:development May 24, 2016
@EliasC EliasC deleted the minParserFix branch May 24, 2016 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants