]> git.gag.com Git - fw/sdcc/blobdiff - src/SDCCsymt.c
fixed bug #690781
[fw/sdcc] / src / SDCCsymt.c
index 588935e69a086b233399593129bd9e0eac07c9d0..6d5e32436bffa1eea8d6cd9c678694e61b17e892 100644 (file)
@@ -1921,6 +1921,10 @@ processFuncArgs (symbol * func)
          SPEC_STAT (val->etype) = SPEC_STAT (val->sym->etype) =
            SPEC_STAT (func->etype);
        }
+      if (!isinSet(operKeyReset, val->sym)) {
+       addSet (&operKeyReset, val->sym);
+       applyToSet (operKeyReset, resetParmKey);
+      }
       val = val->next;
     }
 }