From 87884e161e630967b1696788202fe69bd68b98d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Tue, 25 Feb 2014 21:34:13 +0100 Subject: [PATCH] Condition evaluator fix --- .../flash/types/annotations/parser/ConditionEvaluator.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/types/annotations/parser/ConditionEvaluator.java b/trunk/src/com/jpexs/decompiler/flash/types/annotations/parser/ConditionEvaluator.java index 4f09c4fd9..df89c4704 100644 --- a/trunk/src/com/jpexs/decompiler/flash/types/annotations/parser/ConditionEvaluator.java +++ b/trunk/src/com/jpexs/decompiler/flash/types/annotations/parser/ConditionEvaluator.java @@ -62,7 +62,7 @@ public class ConditionEvaluator { } private void expression(Map fields, Stack stack, ConditionLexer lex) throws IOException, ParseException { - ConditionToken tok = lex.yylex(); + ConditionToken tok = lex.lex(); if (tok == null) { return; } @@ -82,7 +82,7 @@ public class ConditionEvaluator { break; case PARENT_OPEN: expression(fields, stack, lex); - tok = lex.yylex(); + tok = lex.lex(); if (tok.type != ConditionTokenType.PARENT_CLOSE) { throw new ParseException("End of parent expected", lex.yyline()); } @@ -130,7 +130,7 @@ public class ConditionEvaluator { ConditionLexer lex = new ConditionLexer(new StringReader(prepareCond())); ConditionToken tok; try { - while ((tok = lex.yylex()) != null) { + while ((tok = lex.lex()) != null) { if (tok.type == ConditionTokenType.FIELD) { ret.add(tok.value); }