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
h_vogt
bdcd7dc1a7
inp.c: evaluate for 'temper' only the models which have
been entered into the hash table ckt->MODnameHash
12 years ago
dwarning
c8f5d49ddd
implement CKTsoaCheck()
13 years ago
h_vogt
bb121fe903
inp.c, evtinit.c: improved error message
suggested by Calin Andrian
12 years ago
h_vogt
780ccbfb3c
prevent crash, if due to input bug ckt is not created,
reported by Andrian
12 years ago
rlar
d598630b72
inpcom.c, cleanup inp_readall() #1/7, introduce inp_read()
13 years ago
h_vogt
02555fbe99
bug reported by Yamamaya: revert deleting dicoS structure in inp.c and measure.c:
still to be used by 'listing param'
deletion moved to com_remcirc()
13 years ago
rlar
6a466f7490
line_free_x(), prevent stack overflow due to non-trivial recursion
13 years ago
h_vogt
1bb7079dc5
inp.c, inpcom.c: improved debug printout debug-outx.txt
13 years ago
h_vogt
419da12d36
inp.c: inp_parse_temper(), plug memory leak
13 years ago
h_vogt
d70865a162
allow 'temper' keyword in .param, .model and device instance lines
inpcom.c: fcns inp_fix_temper_in_param(), inp_new_func(), inp_rem_func()
to convert .param with 'temper' to .func, and replace all affected
parameter tokens xxx by their func counterpart xxx()
inpcom.c; fcns inp_temper_compat(), inp_modify_exp() added
to prepare expression with 'temper' for numparam
inp.c: fcns inp_parse_temper(), inp_parse_temper_trees() added
inp_evaluate_temper()
to prepare, parse and evaluate the expressions containing 'temper'
cktdefs.h: add global variable to expressions with 'temper'
dctrcurv.c: add fcn inp_evaluate_temper()
when temp has changed
13 years ago
h_vogt
4524d514e1
inp.c: comments added
13 years ago
h_vogt
da10f49755
remove memory leak freeing dicoS
reported by Jonathan Knott
13 years ago
h_vogt
83205d6c30
inp.c: skip title line when searching for .if in dotifeval()
13 years ago
h_vogt
05a6ec222e
inp.c, inpcom.c: implement a very basic .if/.else block
13 years ago
h_vogt
23779a9eb1
inp.c: add function prototype
13 years ago
h_vogt
df65fa28cf
separate progress report from having Windows GUI
13 years ago
h_vogt
5a44b3f7f8
fix `SetAnalyse()' re-declaration
13 years ago
h_vogt
d7e291c53a
HAS_WINDOWS --> HAS_WINGUI
allow compilation on MS Windows without GUI
13 years ago
h_vogt
1e88db6f7d
add command 'circbyline' to allow entering circuit line by line
13 years ago
h_vogt
b503ea2d12
inp.c: do not run all 'save' commands upfront,
but cumulative when they appear in the .control section
13 years ago
h_vogt
7bc879726d
make database dbs local to each circuit
13 years ago
h_vogt
c15608c903
unique modtab for each circuit, store in ckt structure
13 years ago
h_vogt
4bed98936c
inp.c: nullify `dbs' for use with 'source' command
13 years ago
rlar
d1764cc7fa
inp_readall() change function signature for readability
13 years ago
h_vogt
baad0b1bb8
inp.c: some comments added
13 years ago
h_vogt
3c078cde57
inp.c: remove buf if .control section contains only 'save...' lines
13 years ago
dwarning
12b2287aa6
remove of modtab after the job is done to issue additional source commands
13 years ago
h_vogt
a419712eca
inp.c: pre_<command> to allow command execution from the .control section before parsing the circuit
14 years ago
h_vogt
5c4f8946f6
inp.c: avoid crash if setparse() returns NULL
14 years ago