Browse Source

* fixed web bugs 1480 and 1481

Jonas Maebe 24 years ago
parent
commit
f4ab3095c2
1 changed files with 8 additions and 5 deletions
  1. 8 5
      compiler/pstatmnt.pas

+ 8 - 5
compiler/pstatmnt.pas

@@ -711,7 +711,7 @@ implementation
          else
            p:=nil;
          p:=cexitnode.create(p);
-         p.resulttype:=voidtype;
+         do_resulttypepass(p);
          exit_statement:=p;
       end;
 
@@ -1222,10 +1222,13 @@ implementation
 end.
 {
   $Log$
-  Revision 1.29  2001-05-04 15:52:04  florian
-    * some Delphi incompatibilities fixed:
-       - out, dispose and new can be used as idenfiers now
-       - const p = apointerype(nil); is supported now
+  Revision 1.30  2001-05-17 13:25:24  jonas
+    * fixed web bugs 1480 and 1481
+
+  Revision 1.29  2001/05/04 15:52:04  florian
+    * some Delphi incompatibilities fixed:
+       - out, dispose and new can be used as idenfiers now
+       - const p = apointerype(nil); is supported now
     + support for const p = apointertype(pointer(1234)); added
 
   Revision 1.28  2001/04/21 12:03:11  peter