From e628e92bc5cc7ef99a896bbe14de773c6e9b0e0e Mon Sep 17 00:00:00 2001 From: Brian Taylor Date: Thu, 2 Apr 2026 12:30:02 -0700 Subject: [PATCH] Match pre-master-47 --- src/frontend/inpcom.c | 3 --- src/frontend/numparam/xpressn.c | 17 +++++------------ src/include/ngspice/sharedspice.h | 4 ---- visualc/vngspice-fftw.vcxproj | 3 +-- 4 files changed, 6 insertions(+), 21 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index ee3d9bb4e..5af0e027b 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -8429,9 +8429,6 @@ static void inp_quote_params(struct card *c, struct card *end_c, if (cp_getvar("no_auto_braces", CP_BOOL, NULL, 0)) return; - if (newcompat.hs && cp_getvar("no_auto_braces", CP_BOOL, NULL, 0)) - return; - for (; c && c != end_c; c = c->nextcard) { int i, j, num_terminals; diff --git a/src/frontend/numparam/xpressn.c b/src/frontend/numparam/xpressn.c index 57fde2af3..5c4907fa3 100644 --- a/src/frontend/numparam/xpressn.c +++ b/src/frontend/numparam/xpressn.c @@ -1055,18 +1055,11 @@ formula(dico_t *dico, const char *s, const char *s_end, bool *perror) ((oldstate == S_atom) && (state == S_binop)) || ((oldstate != S_atom) && (state != S_binop)); - /* c is a sign, + or - are allowed */ - if (oldstate == S_binop && state == S_binop) - if (c == '-') { - ok = 1; - negate = 1; - continue; - } - else if (c == '+') { - ok = 1; - negate = 0; - continue; - } + if (oldstate == S_binop && state == S_binop && c == '-') { + ok = 1; + negate = 1; + continue; + } if (!ok) error = message(dico, " Misplaced operator\n"); diff --git a/src/include/ngspice/sharedspice.h b/src/include/ngspice/sharedspice.h index 1d47c35f8..f453877ff 100644 --- a/src/include/ngspice/sharedspice.h +++ b/src/include/ngspice/sharedspice.h @@ -124,11 +124,7 @@ are of type bool if sharedspice.h is used externally. */ #ifndef NGSPICE_PACKAGE_VERSION -<<<<<<< HEAD -#define NGSPICE_PACKAGE_VERSION "45+" -======= #define NGSPICE_PACKAGE_VERSION "46+" ->>>>>>> pre-master-47 #endif /* we have NG_BOOL instead of BOOL */ #ifndef HAS_NG_BOOL diff --git a/visualc/vngspice-fftw.vcxproj b/visualc/vngspice-fftw.vcxproj index d6e3a6343..9274e0228 100644 --- a/visualc/vngspice-fftw.vcxproj +++ b/visualc/vngspice-fftw.vcxproj @@ -1513,7 +1513,6 @@ lib /machine:x64 /def:..\..\fftw-3.3-dll64\libfftw3-3.def /out:$(IntDir)libfftw3 - @@ -2872,4 +2871,4 @@ lib /machine:x64 /def:..\..\fftw-3.3-dll64\libfftw3-3.def /out:$(IntDir)libfftw3 - \ No newline at end of file +