fixed bug #690781
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 24 Feb 2003 12:34:30 +0000 (12:34 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 24 Feb 2003 12:34:30 +0000 (12:34 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2301 4a8a32a2-be11-0410-ad9d-d568d2c75423

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;
     }
 }