From ffde17441bd3164464e59c879a2cb2e89ab73396 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 27 Dec 2024 11:12:31 +0100 Subject: [PATCH] Don't quote the subcircuit name in an X line --- src/frontend/inpcom.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 467379bd0..cc15e4c6f 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -8254,10 +8254,10 @@ static void inp_quote_params(struct card *c, struct card *end_c, if (num_terminals <= 0) continue; - /* There are devices that should not get quotes around tokens - following after the terminals. These may be model names or control - voltages. See bug 384 or Skywater issue 327 */ - if (strchr("fhmouydqjzsw", *curr_line)) + /* There are devices that should not get quotes around token directly + following the terminals. These may be model names, control voltages + or subckt names. See bugs 384, 730 or Skywater issue 327 */ + if (strchr("fhmouydqjzswx", *curr_line)) num_terminals++; for (i = 0; i < num_params; i++) {