On 07.12.2016 21:55, Paul King wrote:
That is the current expected behaviour. The grammar currently doesn't
support slashy syrings straight after println unless you add the
parentheses. I can't recall the rationale just now. Perhaps it's
something we could look at in the Parrot parser - or an
That is the current expected behaviour. The grammar currently doesn't
support slashy syrings straight after println unless you add the
parentheses. I can't recall the rationale just now. Perhaps it's something
we could look at in the Parrot parser - or an attempt to add it might make
it clear what
This one line script fails for me:
---BOF---
println /stuff/
---EOF---
Causes an error:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/tmp/println.groovy: 2: unexpected token: @ line 2, column 1.
I find using the slashes is helpful when generating some