Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9-beta-1
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
the proposal can be found here http://mail.openjdk.java.net/pipermail/coin-dev/2009-April/001628.html
a patch containing the needed changes for this proposal and the binary literals together is attached
Issue Links
- is related to
-
GROOVY-4594
Project Coin binary literals
-
The initial patch wasn't working as is, so I had to rework it a little, but it seems there's now some grammar ambiguity introduced:
ensureGrammars: [antlr] ANTLR Parser Generator Version 2.7.7 (20060906) 1989-2005 [antlr] /Users/glaforge/Projects/groovy/trunk/src/main/org/codehaus/groovy/antlr/groovy.g:4190:13: warning:lexical nondeterminism between alts 2 and 3 of block upon [antlr] /Users/glaforge/Projects/groovy/trunk/src/main/org/codehaus/groovy/antlr/groovy.g:4190:13: k==1:'B','b' [antlr] /Users/glaforge/Projects/groovy/trunk/src/main/org/codehaus/groovy/antlr/groovy.g:4190:13: k==2:'0','1' [antlr] /Users/glaforge/Projects/groovy/trunk/src/main/org/codehaus/groovy/antlr/groovy.g:4190:13: k==3:<end-of-token>,'.','0','1','D'..'G','I','L','d'..'g','i','l' [antlr] /Users/glaforge/Projects/groovy/trunk/src/main/org/codehaus/groovy/antlr/groovy.g:4190:13: k==4:<end-of-token>,'+','-','.','0'..'9','D'..'G','I','L','_','d'..'g','i','l'