[
https://issues.apache.org/jira/browse/TINKERPOP-1510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15576072#comment-15576072
]
Robert Dale commented on TINKERPOP-1510:
----------------------------------------
Groovysh doesn't seem to support that so it would have been something added to
gremlin-console. It would be neat if console did support that then
TINKERPOP-1447 probably wouldn't be necessary.
> Inline comments in Gremlin console
> ----------------------------------
>
> Key: TINKERPOP-1510
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1510
> Project: TinkerPop
> Issue Type: Bug
> Components: console
> Affects Versions: 3.2.2
> Reporter: Daniel Kuppitz
>
> A while back it was no issue to have inline comments in multi-line Gremlin
> traversals; code samples from the docs could easily be copied and pasted. Now
> I just tried to paste a code block and ended up with this:
> {noformat}
> gremlin> g.V(input.head()).
> ......1> repeat(out('hasParent')).emit().as('x'). //(1)
> groovysh_parse: 3: unexpected token: . @ line 3, column 51.
> t('hasParent')).emit().as('x'). //(1)
> {noformat}
> [~robertdale], could this have something to do with any of your recent
> changes?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)