Fixed typo
authorceriel <none@none>
Thu, 17 Oct 1991 16:36:54 +0000 (16:36 +0000)
committerceriel <none@none>
Thu, 17 Oct 1991 16:36:54 +0000 (16:36 +0000)
lang/cem/cemcom.ansi/declar.g

index 00c3a8b..9425474 100644 (file)
@@ -356,7 +356,7 @@ formal(struct formal **fmp;)
                new->fm_idf = idf;
                new->next = *fmp;
                *fmp = new;
-               if (idef->id_def && idef->id_def->df_sc == TYPEDEF) {
+               if (idf->id_def && idf->id_def->df_sc == TYPEDEF) {
                        error("typedef name %s may not be redeclared as a parameter", idf->id_text);
                }
        }