From 65562dd943ecf6a6cc70896c77943704539539ee Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 21 Apr 2021 10:14:19 +0200 Subject: [PATCH] Fixes a bug introduced by commit [4895a4] Re-enables R with .model like .model R_NOISELESS RES (TCE=0 T_ABS=-273.15) R77 1 0 R_NOISELESS 100 --- src/frontend/inpcom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 6bab6a729..21322aed9 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -4276,6 +4276,8 @@ int get_number_terminals(char *c) case 'b': case 'v': case 'i': + return 2; + break; case 'd': i = 0; /* find the first token with "off" or "=" in the line*/