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

changeset 597
d2b7ecf33b35
parent 581
f2fdd52e4e87
child 674
584365f256a7
equal deleted inserted replaced
596:6386f0fd6205 597:d2b7ecf33b35
417 do { 417 do {
418 if (ch != '_') { 418 if (ch != '_') {
419 putChar(ch); 419 putChar(ch);
420 } else { 420 } else {
421 if (!allowUnderscoresInLiterals) { 421 if (!allowUnderscoresInLiterals) {
422 lexError("unsupported.underscore", source.name); 422 lexError("unsupported.underscore.lit", source.name);
423 allowUnderscoresInLiterals = true; 423 allowUnderscoresInLiterals = true;
424 } 424 }
425 } 425 }
426 saveCh = ch; 426 saveCh = ch;
427 savePos = bp; 427 savePos = bp;

mercurial