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

Syntax error with heredoc and semicolon #3273

Closed
naclyhara opened this issue Nov 24, 2016 · 0 comments
Closed

Syntax error with heredoc and semicolon #3273

naclyhara opened this issue Nov 24, 2016 · 0 comments

Comments

@naclyhara
Copy link
Contributor

@naclyhara naclyhara commented Nov 24, 2016

The following program is valid on CRuby, but syntax error on mruby.

$ cat m.rb
a = <<EOD;
hello
EOD
$ mruby m.rb               
m.rb:3:0: syntax error, unexpected tHD_STRING_MID, expecting $end

(Actually this is not a problem to me, I'm just reporting this because I found it. Please just close the ticket if it is not worth fixing)

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

No branches or pull requests

1 participant