From: brian Date: Fri, 30 Jan 2004 07:03:54 +0000 (+0000) Subject: 2003/07/12 17:38:53 X-Git-Tag: RC3~777 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f0fc6aa0b5ff2539e0f307cd0e592976ac9e7ac7;p=org.ibex.core.git 2003/07/12 17:38:53 darcs-hash:20040130070354-aa32f-45e59b6d3a81e5b55d8530b59a10f4c5b465222d.gz --- diff --git a/src/org/xwt/js/Parser.java b/src/org/xwt/js/Parser.java index 4abbdea..cf0fdec 100644 --- a/src/org/xwt/js/Parser.java +++ b/src/org/xwt/js/Parser.java @@ -276,10 +276,8 @@ class Parser extends Lexer implements ByteCodes { parseBlock(b2, null); // the function body - if(b2.get(b2.size()-1) != RETURN) { - b2.add(parserLine, LITERAL, null); // in case we "fall out the bottom", return NULL - b2.add(parserLine, RETURN); - } + b2.add(parserLine, LITERAL, null); // in case we "fall out the bottom", return NULL + b2.add(parserLine, RETURN); break; }