rlar
511cdd7188
struct card, #3/6, rename members from struct line to struct card
9 years ago
rlar
8d93511a96
struct card, #1/6, minor cleanup
9 years ago
rlar
c6896cf338
accept .para shortcut for .param
9 years ago
rlar
2df8f433f8
inp.c, inp_parse_temper(), rewrite, using search_idenifier and find_assignment
try to make it more robust with regard to
'!=' '<=' '==' don't misinterpret as '='
"atemperaticvariable" don't misinterpret as 'temper'
multiple temper in one expression
9 years ago
rlar
4c44027cd2
inp.c, inp_parse_temper(), cleanup
9 years ago
rlar
2809ccaa13
shrink scope of expr_w_temper
9 years ago
rlar
2c35eebb0b
invoke in_parse_temper_trees() and inp_evaluate_temper() unconditionally
9 years ago
rlar
e35429a222
inpcom.c, introduce rem_tlist()
9 years ago
rlar
c600312d01
deploy devtlist/modtlist in struct circ
9 years ago
rlar
2a50316304
inp_parse_temper(), add modtlist_p/devtlist_p arguments
9 years ago
rlar
f78d8e21f0
inp_parse_temper_trees(), add struct circ argument
9 years ago
rlar
f2f2b3b09a
inp_evaluate_temper(), add struct circ argument
9 years ago
rlar
c920946c73
inp.c, bug fix, need to reset modtlist/devtlist unconditionally
9 years ago
rlar
12de713ff5
inp.c, bug fix, commit "allow 'temper' keyword in .param, .model and device instance lines ..."
don't overwrite struct pt_temper.expression,
to allow free'ing this string.
9 years ago
rlar
33788f7052
remove excessive inp_evaluate_temper() prototypes
10 years ago
rlar
45ad60b738
rename gettok_nc() --> nexttok(), and functionalize it
9 years ago
h_vogt
6a0a6071a0
gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)).
10 years ago
rlar
b302dbe975
inp.c, cleanup using new function `line_nconc()'
10 years ago
h_vogt
c28c5d307a
inp.c, remove bug with handling of options: options stemming from a command file are kept, options from sourced circuit are removed with ckt
10 years ago
h_vogt
81e1e6fa32
inp.c, inpcom.c, treat files starting with '*ng_script' as command files
10 years ago
h_vogt
6535558f9e
inp.c, plug memory leak
10 years ago
h_vogt
9f62057973
introduce include file "ngspice/randnumb.h"
10 years ago
h_vogt
33b11f9598
comments improved
10 years ago
rlar
c0513ed573
inp.c, rewrite inp_savecurrents()
10 years ago
h_vogt
893157b11f
inp.c, inp_savecurrents(), remove a memory leak
10 years ago
rlar
5e04924890
cleanup `skip_ws()' usage
10 years ago
rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
10 years ago
rlar
22875d056b
skip-ws, #5/6, use functional style
10 years ago
rlar
d12679fccd
skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0'
use TEMPORARY_SKIP_WS_X1 instead of TEMPORARY_SKIP_WS_X0
10 years ago
rlar
a86f2068c8
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
10 years ago
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
10 years ago
rlar
1ad65120d5
skip-ws, #1/6, prepare for rewrite, obj-invariant
10 years ago
rlar
1578348fdf
frontend/inp.c, inp_evaluate_temper(), fix memory hole
10 years ago
rlar
cc8f84ab84
frontend/inp.c, inp_parse_temper(), bug fix, prevent multiple free'ed memory
10 years ago
rlar
c9ee5a4501
frontend/inp.c, inp_parse_temper(), rewrite linked list insertion
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
h_vogt
eef5a058d2
inp.c, disable command `edit' unless `interactive' has been set
10 years ago
rlar
cd7e77d21f
src/frontend/inp.c, avoid warning, drop nested local `wl'
10 years ago
rlar
fc6455ca99
inp.c, bug fix, `temper' in a model parameter, missing INPretrieve() invocation
The model name needs to be transformed into a `IFuid'
before it can be searched for with `findModel()'
see tests/regression/temper/temper-1.cir
11 years ago
rlar
5ac7858a79
rewrite, use tprintf
11 years ago
rlar
5c97e31049
cleanup, use '\0' and NULL
12 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
1a0a00c9c2
inp.c, nicer printout of multi line error messages
12 years ago
rlar
0182f2f7ca
swallow an unused format argument warning
12 years ago
h_vogt
8499ef0428
.option 'savecurrents' for storing all current of relevant devices
12 years ago
h_vogt
1f5de32512
global variable Infile_Path, which contains the
input netlist file path
12 years ago
h_vogt
bf1fb3f105
inp.c: prevent crash upon if_inpdeck() returning NULL
12 years ago
h_vogt
d5b2460123
inp.c, inp2q.c improve error message
when we exit() in batch mode due to a missing model definition
12 years ago
rlar
bb28578956
workaround, avoid batch termination when there are .model issues
these were introduced by commit
"inp.c, evtinit.c: improved error message suggested by Calin Andrian"
and caused ngspice checks to fail unexpectedly
12 years ago