groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danielsun1106 <...@git.apache.org>
Subject [GitHub] groovy pull request #:
Date Fri, 30 Mar 2018 12:51:09 GMT
Github user danielsun1106 commented on the pull request:

    https://github.com/apache/groovy/commit/7e7b508c02bf35e72fca1efcb7cc0d8a4f25038a#commitcomment-28347291
  
    In src/antlr/GroovyLexer.g4:
    In src/antlr/GroovyLexer.g4 on line 317:
    `/` and `'` can not quote themselves,  so `/1234//` and `'1234''` are invalid. `'''` and
`"""` can quote `'` and `"`, so some code like `'''v='1234''''` is valid and conforms to "Least
Surprise" principle IMO.


---

Mime
View raw message