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 to parse regex starting with ';' after call #5208

Conversation

makenowjust
Copy link
Contributor

Currently this code cannot be compiled for syntax error:

p /;/

# Syntax error in foo.cr:1: unexpected token: ;

This PR fixes it.

@RX14 RX14 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler topic:compiler:parser labels Oct 29, 2017
@asterite asterite added this to the Next milestone Oct 30, 2017
@asterite asterite merged commit 6aa40d0 into crystal-lang:master Oct 30, 2017
@makenowjust makenowjust deleted the fix/crystal/parse-regex-starting-semicolon-after-call branch October 30, 2017 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:parser topic:compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants