Browse Source

Improve comments

pre-master-46
Holger Vogt 1 year ago
parent
commit
68228ca33f
  1. 8
      src/xspice/evt/evtcheck_nodes.c

8
src/xspice/evt/evtcheck_nodes.c

@ -696,9 +696,7 @@ bool Evtcheck_nodes(
if (!cp_getvar("auto_bridge", CP_NUM, &show, sizeof show)) if (!cp_getvar("auto_bridge", CP_NUM, &show, sizeof show))
show = AB_SILENT; show = AB_SILENT;
/* Try to create joining device if any analog node name matches
* an event node. Failure is fatal.
*/
/* Check for incompatible command '.probe alli' */
if (ckt->evt->info.node_list && cp_getvar("probe_alli_given", CP_BOOL, NULL, 0)) { if (ckt->evt->info.node_list && cp_getvar("probe_alli_given", CP_BOOL, NULL, 0)) {
fprintf(stderr, fprintf(stderr,
@ -708,6 +706,10 @@ bool Evtcheck_nodes(
controlled_exit(EXIT_FAILURE); controlled_exit(EXIT_FAILURE);
} }
/* Try to create joining device if any analog node name matches
* an event node. Failure is fatal.
*/
for (event_node = ckt->evt->info.node_list; for (event_node = ckt->evt->info.node_list;
event_node; event_node;
event_node = event_node->next) { event_node = event_node->next) {

Loading…
Cancel
Save