You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2017/11/29 04:12:00 UTC
[jira] [Commented] (GROOVY-8395) Certain string(s) in comments
cause General error during parsing: Did not find four digit hex character
code.
[ https://issues.apache.org/jira/browse/GROOVY-8395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270100#comment-16270100 ]
Daniel Sun commented on GROOVY-8395:
------------------------------------
The old parser will read source code via an unicode reader. The backslash may be the cause of error. Remove the comment or try the new parser, which can handle the code properly.
> Certain string(s) in comments cause General error during parsing: Did not find four digit hex character code.
> -------------------------------------------------------------------------------------------------------------
>
> Key: GROOVY-8395
> URL: https://issues.apache.org/jira/browse/GROOVY-8395
> Project: Groovy
> Issue Type: Bug
> Components: parser
> Affects Versions: 2.4.7, 2.4.12
> Reporter: Andrew Bayer
>
> I've verified this in 2.4.7 and 2.4.12, but I'm guessing it's the case elsewhere as well.
> If you try running this Groovy script, you get {{General error during parsing: Did not find four digit hex character code. line: 1 col:27}}:
> {code}
> // Unable to delete 'C:\j2\uniphi5-ws\sqR2011a-64'
> println "hi"
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)