From 5ee6a98e4bb7eb864538c8987b909124da8a7ac7 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sat, 12 Dec 2020 10:18:06 +0100 Subject: [PATCH] Add a comment --- src/frontend/subckt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/subckt.c b/src/frontend/subckt.c index ffd851d08..8ba7cf60e 100644 --- a/src/frontend/subckt.c +++ b/src/frontend/subckt.c @@ -1637,6 +1637,8 @@ numnodes(const char *line, struct subs *subs, wordlist const *modnames) /* for a given device type. */ /* Paolo Nenzi Jan-2001 */ + /* If model names equal node names, this code will fail! */ + if ((c == 'm') || (c == 'p') || (c == 'q')) { /* IF this is a mos, cpl or bjt*/ char *s = nexttok(line); /* Skip the instance name */ int gotit = 0;