Browse Source

* skip vo_is_funcret parameters when building a JVM mangled procdef name,
rather than aborting the creation of the mangled name

git-svn-id: branches/jvmbackend@18879 -

Jonas Maebe 14 years ago
parent
commit
65925be6fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/symdef.pas

+ 1 - 1
compiler/symdef.pas

@@ -4752,7 +4752,7 @@ implementation
                 vs:=tparavarsym(paras[i]);
                 { function result is not part of the mangled name }
                 if vo_is_funcret in vs.varoptions then
-                  exit;
+                  continue;
                 { self pointer neither, except for class methods (the JVM only
                   supports static class methods natively, so the self pointer
                   here is a regular parameter as far as the JVM is concerned }