]> git.gag.com Git - fw/sdcc/blobdiff - src/SDCCsymt.c
temporary fix for bug #476632 z80 only
[fw/sdcc] / src / SDCCsymt.c
index be8444e8cfef6957cd3e854f31d718e69a685f2c..a2efff79d67dbb357fb085eb65a36944c27b38ab 100644 (file)
@@ -1809,6 +1809,12 @@ processFuncArgs (symbol * func, int ignoreName)
        {
          aggregateToPointer (val);
        }
+
+      // jwk: this should not be here
+      if (IS_CODEPTR(val->type) && IS_FUNC(val->type->next)) {
+       processFuncArgs (val->sym, ignoreName);
+      }
+
       val = val->next;
       pNum++;
     }