changeset 137:6f528e2a9e23

tedax2donl works now
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Sep 2020 03:20:50 +0000
parents 65f87111090c
children 77acb816727b
files netdiff/convert/tedax2donl.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/netdiff/convert/tedax2donl.c	Mon Sep 07 03:02:42 2020 +0000
+++ b/netdiff/convert/tedax2donl.c	Mon Sep 07 03:20:50 2020 +0000
@@ -103,9 +103,10 @@
 		if (!get_line()) {
 			fprintf(stderr,
 				"%s: EOF in the middle of a skip block\n",
-				infname, lineno);
+				infname);
 			exit(1);
 		}
+		parse_into_fields();
 		if (!nfields)
 			continue;
 		if (!strcmp(fields[0], "begin")) {
@@ -161,9 +162,10 @@
 		if (!get_line()) {
 			fprintf(stderr,
 				"%s: EOF in the middle of the netlist block\n",
-				infname, lineno);
+				infname);
 			exit(1);
 		}
+		parse_into_fields();
 		if (!nfields)
 			continue;
 		if (!strcmp(fields[0], "begin")) {