rlar
d981fb331b
spicelib/devices/*, drop empty destroy functions
8 years ago
rlar
e725d728fc
res/restemp.c, avoid temporary NaN value, (simplify debugging)
RESupdate_conduct() may be called several times before all
parameters have been set via RESparam() invocations,
or finally being set to default values in RESsetup()
Especially RESscale might still be 0.0 as well as RESm
thus temporarily creating a NaN in RESupdate_conduct.
This would unnecessarily complicate debugging with enabled
floating point exceptions.
8 years ago
rlar
ead6dc4816
spicelib/devices/{sw,csw}, unify CKTstates[] access
do it the same way as the other devices do
access CKTstates[][slot] via device specific descriptive macros
access CKTstates[] via CKTstate0 CKTstate1 macros
this patch has been checked for object file in-variance with gcc
8 years ago
rlar
bcecc19e8b
spicelib/devices/{sw,csw}, cleanup for readability
This change is functional invariant, and has been checked
with gcc for object file in-variance.
For the details see the "rewrite-sw" branch
8 years ago
h_vogt
3dd2115291
frontend/subckt.c, do not put model names into numparam hash table
nobody seems to make use of these entries.
see nupa_type which shrinks to four enum's
10 years ago
rlar
b803b294b4
frontend/parser/lexical.c, cp_lexer(), allow # and * comment
Both, whether interactive or not.
Especially for command scripts.
9 years ago
rlar
6903584e99
asrc/asrcacld.c, bug fix, reciproc tc coefficient
8 years ago
Holger Vogt
b1aa6cfc87
xspice/enh/enhtrans.c, two2three_translate(), plug a memory leak
8 years ago
rlar
878c9645c7
frontend/outitf.c, drop /* ARGSUSED */ comments
8 years ago
Holger Vogt
edc690e26f
frontend/outitf.c, plug a memory leak when `.option interp'
8 years ago
Holger Vogt
de6654ff72
COPYING, clarify the licenses
add a table of files licensed differently to 'New BSD'
We will try to contact USB officials to obtain a re-licensing of CIDER.
8 years ago
rlar
cd1bbf2003
rewrite, use designated initializer for SPICEdev initialisation
8 years ago
rlar
95ef5e79d9
numparam/*, use `pscopy()'
8 years ago
rlar
9ad63cc2c0
numparam/*, plug memory leaks
8 years ago
rlar
ea1b83698f
numparam/*, drop case conversions
inpcom.c is supposed to convert everything to lower case.
Thus we can work case sensitive in numparam,
which is easier compared to a whole set of local case conversions.
8 years ago
rlar
0200d5c7e9
numparam/*, drop "old style" '&' syntax
Probably an artefact of the external preprocessor implementation
of numparam.
This syntax seems to have been a non spice macro expansion facility.
8 years ago
rlar
8022aa09a6
spicenum.c, cleanup dicoS usage
8 years ago
rlar
aa0dbd20ad
spicenum.c, drop putlogfile()
8 years ago
rlar
15c00a9d42
spicenum.c, drop dologfileS, logfileS and nblogS
which are never set
8 years ago
rlar
112f35cc96
nupa_copy(), use skip_back_ws()
8 years ago
rlar
9218b76583
nupa_copy(), cleanup
8 years ago
rlar
ec24c1ded7
nupa_copy(), fix lvalue
8 years ago
rlar
06708f1ed1
nupa_copy(), ls ==> s_end - (const) s
8 years ago
rlar
751d377d3e
pscopy(), pscopy_up(), use `char *stop' argument
instead of `int length' argument
8 years ago
rlar
e21d48a267
pscopy(), pscopy_up(), use _spice_dstring_setlength() return value
instead of invoking spice_dstring_value()
8 years ago
rlar
2ce91b0821
pscopy(), pscopy_up(), expand spice_dstring_reinit() macro
and inline the resulting spice_dstring_setlength() invocation
8 years ago
rlar
2cb579cd9f
pscopy(), pscopy_up(), drop `start' argument
which is always zero
8 years ago
rlar
3bd9c1c858
scopyd(), return void
8 years ago
rlar
5164c16a1b
numparam/mystring.c, drop unused nadd(), cins(), sins() and spos_()
10 years ago
rlar
468f7580ad
nupa_subcktcall(), cleanup using skip_ws()
8 years ago
rlar
a38b19bc0e
nupa_subcktcall(), reintroduce search for last occurence of the subckt name
8 years ago
rlar
c2f519c191
nupa_subcktcall(), drop `p_subname'
8 years ago
rlar
3f5ea23c71
nupa_subcktcall(), drop `ls_ptr'
valid because
neither `jp' nor `gp' will ever be incremented beyond end of string
8 years ago
rlar
437f92385a
nupa_subcktcall(), avoid `jp' pointing beyond end of string
The skip whitespace loop in the following line shall
safely swallow the delimiting space instead
8 years ago
rlar
bb9689139b
nupa_subcktcall(), drop `parsebuf' and `buf'
8 years ago
rlar
8b1e4fc32c
nupa_subcktcall(), introduce search_isolated_identifier()
the functionality is a bit different though,
because the previous code searched for the *last* occurence of the identifier
yet the new code searches for the first occurence.
8 years ago
rlar
6a57023ced
nupa_subcktcall(), drop `hp'
8 years ago
rlar
b16a61fb7c
nupa_subcktcall(), use skip_non_ws()
8 years ago
rlar
71ac5bccc2
nupa_subcktcall(), swap `hp' and `kp'
neither `hp' nor `kp' will be used any more behind this body
8 years ago
rlar
07112d62fb
nupa_subcktcall(), simplify
10 years ago
rlar
e4a2106cfe
nupa_subcktcall(), simplify
10 years ago
rlar
1298eacdb2
nupa_subcktcall(), simplify
10 years ago
rlar
1157142dfd
nupa_subcktcall(), simplify
10 years ago
rlar
6ca336af85
nupa_subcktcall(), pscopy transform
10 years ago
rlar
7d40920bd6
nupa_subcktcall(), cleanup
10 years ago
rlar
70cec5e9e3
nupa_subcktcall(), fix lvalue
10 years ago
rlar
ec9636e078
nupa_subcktcall(), ls ==> ls_ptr - (const) t_p
10 years ago
rlar
701dcad9a4
nupa_subcktcall(), fix lvalue
8 years ago
rlar
a773601b84
nupa_subcktcall(), g ==> gp - (const) t_p
8 years ago
rlar
3267bf8d63
nupa_subcktcall(), fix lvalue
8 years ago