From 6cd27b22739e9d8cb7a69f44996296d77173d14b Mon Sep 17 00:00:00 2001 From: stefanjones Date: Thu, 28 Aug 2003 10:34:00 +0000 Subject: [PATCH] INPgetNetTok(); Added if (*point == ')') break; to deal with a tf analysis net read in problem. By Paolo Nenzi --- src/spicelib/parser/inpgtok.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spicelib/parser/inpgtok.c b/src/spicelib/parser/inpgtok.c index ba6e92f7a..b0bdf6b95 100644 --- a/src/spicelib/parser/inpgtok.c +++ b/src/spicelib/parser/inpgtok.c @@ -176,6 +176,8 @@ int INPgetNetTok(char **line, char **token, int gobble) break; if (*point == ',') break; + if (*point == ')') + break; } /* now copy found token into *token */