2003/07/12 17:38:53
[org.ibex.core.git] / src / org / xwt / js / Parser.java
index 4abbdea..cf0fdec 100644 (file)
@@ -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;
         }