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 */