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);
}

View File

@@ -447,7 +447,7 @@ public class FlashPlayerTest {
Action opAction = getOpAction(i);
if (i >= 13 + 23) {
newActions.add(new ActionPush("mystring_??rv??zt??r??_t??k??rf??r??g??p"));
newActions.add(new ActionPush("mystring_\u00E1rv\u00EDzt\u0171r\u0151_t\u00FCk\u00F6rf\u00FAr\u00F3g\u00E9p"));
}
Object p1o = pushes[p1];
@@ -539,7 +539,7 @@ public class FlashPlayerTest {
}
}*/
/*if (!ffdecResult.equals(flashResult)) {
/*if (!ffdecResult.equals(flashResult)) {
LocalDataArea lda = new LocalDataArea();
for (Action a : task.actions) {
if (!a.execute(lda)) {