From f0fc6aa0b5ff2539e0f307cd0e592976ac9e7ac7 Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 30 Jan 2004 07:03:54 +0000 Subject: [PATCH] 2003/07/12 17:38:53 darcs-hash:20040130070354-aa32f-45e59b6d3a81e5b55d8530b59a10f4c5b465222d.gz --- src/org/xwt/js/Parser.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; } -- 1.7.10.4