xpressn.c, cleanup error message
This commit is contained in:
parent
4234226713
commit
094ae69ff5
|
|
@ -523,22 +523,8 @@ nupa_define(dico_t *dico,
|
|||
warn = message(dico, "%s:%d overwritten.\n", t, entry->level);
|
||||
|
||||
} else {
|
||||
/* suppress error message, resulting from multiple definition of
|
||||
symbols (devices) in .model lines with same name, but in different subcircuits.
|
||||
Subcircuit expansion is o.k., we have to deal with this numparam
|
||||
behaviour later. (H. Vogt 090426)
|
||||
*/
|
||||
/* error message for redefinition of symbols */
|
||||
message(dico, "%s is already used,\n cannot be redefined\n", t);
|
||||
#if 0
|
||||
if ((c == 'U') && (tpe == 'U'))
|
||||
message(dico, "%s is already used as subcircuit name,\n cannot be used for another subcircuit\n", t);
|
||||
else if ((c == 'U') && (tpe == 'O'))
|
||||
message(dico, "%s is already used as subcircuit name,\n cannot be used for model\n", t);
|
||||
else if ((c == 'O') && (tpe == 'U'))
|
||||
message(dico, "%s is already used as model name,\n cannot be used for subcircuit\n", t);
|
||||
else if ((c == 'O') && (tpe == 'O'))
|
||||
message(dico, "%s is already used as model name,\n cannot be reused for another model\n", t);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue