rlar
dbb958fff8
introduce examples/control_structs/if-test-1.cir
10 years ago
rlar
059f2b6c0d
fix garbage collection of vectors returned by ft_evaluate()
10 years ago
rlar
9652cc46c8
plotting/graf.c, cleanup
10 years ago
h_vogt
c332b33d23
parser/lexical.c, #10/10, add some comments
10 years ago
rlar
a551f87652
parser/lexical.c, #9/10, use dynamic buffer allocation
10 years ago
rlar
2d480637c9
parser/lexical.c, #8/10, use a struct to store the buffer state
10 years ago
rlar
615b8a4598
parser/lexical.c, #7/10, use `copy_substring()'
10 years ago
rlar
9a7e915a9f
parser/lexical.c, #6/10, cleanup
10 years ago
rlar
8f09c35c5a
parser/lexical.c, #5/10, change buf/linebuf usage
properly '\0' terminate the buffers where needed
instead of an unspecific bzero() invocation
10 years ago
rlar
b7f3dbc0fe
parser/lexical.c, #4/10, rename `cw' --> `wlist_tail'
10 years ago
rlar
4cabf8fa6c
parser/lexical.c, #3/10, move the `wlist' and `cw' resetting
to the label `nloop'
10 years ago
rlar
a0f5111436
parser/lexical.c, #2/10, move the `wlist' and `cw' resetting
nearer to the `goto nloop'
10 years ago
rlar
a2af93685f
parser/lexical.c, #1/10, this condition is allways true
10 years ago
rlar
521db88eff
frontend/rawfile.c, use "stringskip.h"
10 years ago
rlar
f3e61b838e
frontend/inpcom.c, use "stringskip.h"
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
deeb06b063
inpcom.c, inline and rename the `skip' family, depreciate some of them
10 years ago
rlar
88983b079b
numparam/spicenum.c, prevent memory access beyond end of string
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
f9794431c3
xspice/icm/digital/d_osc/cfunc.mod, swallow a warning
10 years ago
rlar
297c1e90b6
xspice/icm/digital/d_state/cfunc.mod, swallow warnings
current state and next_state are denoted by integers,
though parsed with a parser written for double values.
10 years ago
rlar
2b0c60dadf
xspice/ipc/ipcsockets.c, choke some warnings
Fixme, this code is simply broken,
nobody seems to use it.
One would need to change the socket protocol (message length)
in agreement with the users of the protocol.
For the time beeing,
just suffocate the warnings in a way which does not change
the broken behaviour of this code.
10 years ago
rlar
20aaa3973a
frontend/trannoise/wallace.c, avoid warnings
drop unused `s' and `cob'
chage type of `coa', which is used exclusively in `unsigned int' context
10 years ago
rlar
4b5669a51c
frontend/resource.c, fix bizarre time mathematics
10 years ago
rlar
36064b624a
frontend/resource.c, rename time variables to denote their actual units
10 years ago
rlar
1125b293e3
frontend/resource.c, bug fix, lastusec actually denotes milliseconds
10 years ago
rlar
03630efb8c
remove ancient artefact `#ifdef ipsc'
10 years ago
rlar
40a0cea0d2
swap some `SWAP' arguments for readability
10 years ago
rlar
bd0bc3038b
use `SWAP' macro
10 years ago
rlar
b36385e333
improve `SWAP' macro
10 years ago
rlar
f84d2d4e44
misc/wlist.c, minor cleanup
10 years ago
rlar
273be42cfd
improve `ABORT' macro
10 years ago
rlar
6fe937f931
drop unused `SWAPINT' macro
10 years ago
rlar
6342bec8ec
everywhere, drop `MALLOC()' and `REALLOC()'
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
h_vogt
7d8e287fa3
enable backquote substitution for Visual Studio console apps
10 years ago
h_vogt
25264b3980
memory.h: hrealloc not used anywhere
10 years ago
rlar
d0897fd0c4
src/spicelib/parser/inpptree.c, bug fix, B expression of kind `max(0,expr)'
identified and reported by Marcel Hendrix,
expressions of this kind could trigger a segmentation violation.
PTdifferentiate() roughly evaluates to
ternary_fcn(ge0(0-expr), 0, PTdifferentate(expr))
and mkb() optimizes
0 - expr --> unary_minus(expr)
IFeval() invokes PTeval() for the derivative too,
PTeval() looks at the incorrect tree->funcnum
and tries to PTeval for a second argument which is not there,
(unary_minus does not have a second argument)
causing a segmentation fault.
10 years ago
rlar
c0eff98522
tests/regression/parser/bxpressn-1.cir, check some B expression capabilities
10 years ago
rlar
0932120a7f
special cases of the char variants of the <ctype.h> family
10 years ago
rlar
726d0be34c
use char variants of the <ctype.h> toxxxx() family
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago