changeset 921:56b77a38618c

7017675: typo in JavacParser for allowUnderscoresInLiterals Reviewed-by: dlsmith Contributed-by: peter.b.kessler@oracle.com
author jjg
date Mon, 07 Feb 2011 11:42:12 -0800
parents 96d4226bdd60
children 2cbaa43eb075 c6cb387190ee
files src/share/classes/com/sun/tools/javac/parser/Scanner.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/parser/Scanner.java	Mon Feb 07 18:10:13 2011 +0000
+++ b/src/share/classes/com/sun/tools/javac/parser/Scanner.java	Mon Feb 07 11:42:12 2011 -0800
@@ -138,7 +138,7 @@
         source = fac.source;
         allowBinaryLiterals = source.allowBinaryLiterals();
         allowHexFloats = source.allowHexFloats();
-        allowUnderscoresInLiterals = source.allowBinaryLiterals();
+        allowUnderscoresInLiterals = source.allowUnderscoresInLiterals();
     }
 
     private static final boolean hexFloatsWork = hexFloatsWork();