src/share/classes/com/sun/tools/javac/parser/Scanner.java

changeset 816
7c537f4298fb
parent 752
03177f49411d
child 859
56b77a38618c
equal deleted inserted replaced
815:d17f37522154 816:7c537f4298fb
1 /* 1 /*
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
443 443
444 /** Read fractional part and 'd' or 'f' suffix of floating point number. 444 /** Read fractional part and 'd' or 'f' suffix of floating point number.
445 */ 445 */
446 private void scanHexFractionAndSuffix(boolean seendigit) { 446 private void scanHexFractionAndSuffix(boolean seendigit) {
447 this.radix = 16; 447 this.radix = 16;
448 assert ch == '.'; 448 Assert.check(ch == '.');
449 putChar(ch); 449 putChar(ch);
450 scanChar(); 450 scanChar();
451 skipIllegalUnderscores(); 451 skipIllegalUnderscores();
452 if (digit(16) >= 0) { 452 if (digit(16) >= 0) {
453 seendigit = true; 453 seendigit = true;

mercurial