rlar
e970e8c4ea
numparam/xpressn.c, evaluate(), drop `dt'
9 years ago
rlar
00c3d2f79e
numparam/xpressn.c, drop `getidtype()'
10 years ago
rlar
34040a592d
numparam, #3/3, remove global `nupa_inst_name'
10 years ago
rlar
1bf2590caa
numparam, #2/3, avoid global `nupa_inst_name'
10 years ago
rlar
ca4278685d
numparam, #1/3, avoid global `nupa_inst_name'
10 years ago
rlar
495eef349d
numparam/xpressn.c, nupa_subcktcall(), drop unused `err' argument
10 years ago
rlar
979175fbc6
numparam/xpressn.c, findsubckt(), drop unused `subname' argument
10 years ago
rlar
f42c8d60b4
numparam/spicenum.c, use `copy_substring()'
10 years ago
rlar
49e03cdcb2
numparam, entry_type, #5/5, rewrite to get rid of 'NUPA_SPACE'
use fact: 'entry' !== NULL
9 years ago
rlar
c761c74a22
numparam, entry_type, #4/5, drop 'nolookup' which has known value here
9 years ago
rlar
b7b6d9ace3
numparam, entry_type, #3/5, drop unused 'NUPA_POINTER'
'NUPA_POINTER' is nowhere assigned to storage
thus 'nupa_type' variables can never have this value
9 years ago
rlar
09d92ba692
numparam, entry_type, #2/5, use a type-checked enum for 'nupa_type'
9 years ago
rlar
6a1c9f934c
numparam, entry_type, #1/5, introduce typedef 'nupa_type'
9 years ago
rlar
21f2187530
numparam/xpressn.c, #5/5, drop unused assignment
9 years ago
rlar
1820f5547f
numparam/xpressn.c, #4/5, use a local 'c' instead of 'dt'
9 years ago
rlar
85f48726ea
numparam/xpressn.c, #3/5, whitespace
9 years ago
rlar
146ca72153
numparam/xpressn.c, #2/5, cleanup, drop 'err' and return early
9 years ago
rlar
303d78f616
numparam/xpressn.c, #1/5, cleanup, rewrite upside down
and use known variable values to instantly 'return'
instead of skipping some 'if' bodies
9 years ago
rlar
bc0782aba1
numparam, #4/4, defsubckt(), use struct card * argument
9 years ago
rlar
2a149d7541
numparam, #3/4, nupa_scan(), use struct card * argument
9 years ago
rlar
77da3c6f26
numparam, #2/2, nupa_copy(), use struct card * argument
9 years ago
rlar
19dfaf03f3
numparam, #1/2, nupa_eval(), use struct card * argument
9 years ago
rlar
ee489599cb
struct card, #6/6, drop some redundant casts
9 years ago
rlar
4ec2717079
struct card, #5/6, rewrite from type "card" to "struct card"
9 years ago
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
121a46f9cb
frontend/com_alias.c, asubst(), bug fix
wl_word can not be incremented,
this is a pointer to malloc'ed space
and will eventually be free'ed
8 years ago
rlar
41c0ee45a2
introduce GENinstanceFree() and GENmodelFree()
To abstract away the business of releasing the memory
of a struct GENmodel or struct GENinstance.
8 years ago
Holger Vogt
560cb6e970
plotting/grid.c, bug fix, avoid string buffer overflow
Prevent a crash of example/FFT_test.cir.
Buffer 'buf' in function drawlingrid() has been too small.
Increase 'buf' size, and add some protection.
The example file examples/plot/test-small-plot.cir
shows the limits of plotting:
difference in two numbers at digit 14 is plotted well.
at digit 15 is plotted with bugs.
at digit 16 is reduced to integer.
consider compiling with
-O1 -D_FORTIFY_SOURCE=2
for gcc, and
/GS
for visual studio.
8 years ago
rlar
f0159cbd0b
numparam/spicenum.c, stripbraces(), bug fix
overwriting SPICE_DSTRING `dstr_p' may invalidate `s'
This bug was injected with the introduction of SPICE_DSTRING in :
> commit 76feebbbfa
> Date: Thu Feb 25 21:43:03 2010 +0000
> various bug fixes
8 years ago
rlar
91c60c28df
whitespace change, avoid gcc warnings due to missleading indentation
9 years ago
h_vogt
b3827f6488
gnuplot.c, correct the setting of limits in log plots
9 years ago
dwarning
2fd3c4d94f
fix the still existing wrong array access in psd smooth routine
9 years ago
h_vogt
ca3a9bb648
com_fft.c, correct scaling and filtering for PSD
9 years ago
dwarning
0ef666ea26
com_psd: Correct the special handling of dc and nyquist component in fftw branch
9 years ago
dwarning
2377d3a64f
fix wrong write and read in not allocated memory
9 years ago
dwarning
b8a9ca9df4
correct the fft scaling for real input and complex output vector
9 years ago
rlar
0db861e4a6
device.c, bug fix commit "device.c, #8/19, use parent wordlist ..."
This commit did rely on the existence of a parent 'wordlist' element,
usually guranteed by a leading "alter" or "altermod" command word.
But 'inp_evaluate_temper()' passes a wordlist without any parent word
when invoking 'com_altermod()'
9 years ago
rlar
043d3b4f6d
device.c, #19/19, whitespace
9 years ago
rlar
aa50718573
device.c, #18/19, polish comments
9 years ago
rlar
b4b32e2b93
device.c, #17/19, drop unused assignment to 'eqword'
9 years ago
rlar
fac04193e5
device.c, #16/19, shrink scope of variable 'p'
9 years ago
rlar
3eda944db5
device.c, #15/19, make use of 'wl_find()'
9 years ago
rlar
20c303eb8b
device.c, #14/19, drop variable 'wl2', can use 'wl' instead
9 years ago
rlar
e8ebfb115e
device.c, #13/19, drop artificial rewind to the beginning of the list
9 years ago
rlar
79cc996a93
device.c, #12/19, shrink scope of variable 'wlen' and 'maxelem'
9 years ago
rlar
c2c4683b4b
device.c, #11/19, shrink scope of variable 'wlin'
9 years ago
rlar
b817ca8cf7
device.c, #10/19, drop unused assignment to 'wl2'
9 years ago
rlar
9085084ccb
device.c, #9/19, drop variable 'rhs'
9 years ago
rlar
1ff0500117
device.c, #8/19, use parent wordlist to restore beginning of the list
9 years ago