mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
If ps_udevice_msgs >= 2, print complete line of unsupported PSpice instance. For debugging purposes.
This commit is contained in:
committed by
Holger Vogt
parent
4cb6c93a1a
commit
e2652d813d
@@ -3394,7 +3394,7 @@ BOOL u_check_instance(char *line)
|
||||
itype = hdr->instance_type;
|
||||
xspice = find_xspice_for_delay(itype);
|
||||
if (!xspice) {
|
||||
if (ps_udevice_msgs == 1) {
|
||||
if (ps_udevice_msgs >= 1) {
|
||||
if (current_subckt && subckt_msg_count == 0) {
|
||||
printf("%s\n", current_subckt);
|
||||
}
|
||||
@@ -3402,6 +3402,9 @@ BOOL u_check_instance(char *line)
|
||||
printf("WARNING ");
|
||||
printf("Instance %s type %s is not supported\n",
|
||||
hdr->instance_name, itype);
|
||||
if (ps_udevice_msgs >= 2) {
|
||||
printf("%s\n", line);
|
||||
}
|
||||
}
|
||||
delete_instance_hdr(hdr);
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user