fixes again

This commit is contained in:
honfika@gmail.com
2016-01-01 14:30:08 +01:00
parent 9716aa7ac9
commit 646d696251
4 changed files with 656 additions and 703 deletions

View File

@@ -587,7 +587,7 @@ Preprocessor = \u00A7\u00A7 {Identifier}
"\\t" { string.append('\t'); }
"\\n" { string.append('\n'); }
"\\f" { string.append('\f'); }
"\\§" { string.append('\u00A7'); }
"\\\u00A7" { string.append('\u00A7'); }
"\\r" { string.append('\r'); }
"\\\\" { string.append('\\'); }
\\x{HexDigit}{2} { char val = (char) Integer.parseInt(yytext().substring(2), 16);

View File

@@ -388,7 +388,7 @@ public class ActionPush extends Action {
for (Object o : values) {
if (o instanceof ConstantIndex) {
if ((constantPool == null) || (((ConstantIndex) o).index >= constantPool.size())) {
o = "????constant" + ((ConstantIndex) o).index;
o = "\u00A7\u00A7constant" + ((ConstantIndex) o).index;
} else {
o = constantPool.get(((ConstantIndex) o).index);
}