rlar
3cbc4b0773
lexical #7/19, express verbosely where `wlist' and `cw' are NULL
14 years ago
rlar
ecb2eec279
lexical #6/19, express cp_ccom() property
14 years ago
rlar
3b575d5e3d
lexical #5/19, collapse into `newword'
14 years ago
rlar
348dc2d7d1
lexical #4/19, the `else' can take that job (unconditionally)
14 years ago
rlar
80191f3d44
lexical #3/19, attach and instantly remove a NULL wl_word here
this modification is faithful iff cw != NULL and cw->wl_next == NULL
cw != NULL because we have just survived an update of cw->wl_word
cw->wl_next == NULL is witnessed by:
1) cw either NULL or pointing to a wl_cons(,NULL)
2) cw not being modified, and no wl_next being modified
3) check of all function invocations with wlist/cw argument
not to modify any wl_next slot
which are:
1) cp_ccom(wlist, ...)
2) wl_free() always followed by goto nloop, which does a cw = wl_cons(,NULL)
and cp_ccom() doesn't modify any wl_next slot
the first part of the patch is intentionally similar to newword
`i' and `buf' can be modified here, because we will inevitably `goto done'
attach and instantly remove a NULL wl_word here
14 years ago
rlar
ddebb63425
lexical #2/19, rewrite the `else if'
14 years ago
rlar
f2f43bcce7
lexical #1/19, use wl_cons
14 years ago
rlar
f36772419a
Revert "cleanup, use wl_cons()"
This reverts parts of commit 7a7250cdbd .
There is a cleaner way to rewrite lexical.c
14 years ago
h_vogt
6cd13e0475
pll-xspice-fstep.cir: pll with ref frequency steps
14 years ago
h_vogt
b85f6bbc7d
controlled_exit() instead of exit()
14 years ago
h_vogt
c31fc334f6
pll-xspice.cir: save command added
14 years ago
h_vogt
207adefcda
evtprint.c: no node data: error message instead of seg fault
14 years ago
h_vogt
c0b5a78097
new XSPICE example: use trtol=1
less ripple, but longer simulation time
14 years ago
h_vogt
85ece25a3a
new XSPICE example: mixed mode pll circuit
14 years ago
rlar
64b8dfc570
use wl_delete_slice()
14 years ago
rlar
cdef8aa10e
implement wl_delete_slice()
14 years ago
h_vogt
d793dd6a61
variable xtrtol may override the XSPICE reduction of trtol
14 years ago
rlar
26468839d4
plotit(), cleanup wordlist processing
14 years ago
rlar
608e0473d3
copy(), allow NULL argument
14 years ago
rlar
b808fcec8a
fix typo in the commit `use wl_find()'
14 years ago
dwarning
3c3ba4c731
inpgmod.c: correct the range check to prevent overlap
14 years ago
dwarning
fd85e8fd42
indentation
14 years ago
rlar
891d99497d
use wl_find()
14 years ago
rlar
e2be942b72
implement wl_find()
14 years ago
rlar
60398d113c
plotit.c, prepare for usage of wl_find()
14 years ago
rlar
7a7250cdbd
cleanup, use wl_cons()
14 years ago
h_vogt
1754427bee
enhtrans.c: indentations
14 years ago
h_vogt
20429eec4d
message "OpenMP: %d threads are requested..." removed
14 years ago
h_vogt
9b122d30a3
enhtrans.c, improved error meassage upon non 'Exxx poly' line bug
14 years ago
h_vogt
12e60822fb
measure.c: indentations
14 years ago
h_vogt
ed5491c179
measure.c: Update on error message for .meas
14 years ago
h_vogt
d1d2ff94e4
measure, error message updated and return(NAN) in case of measure failure
test for failure with isnan()
14 years ago
rlar
05e5854268
plotit.c, whitespace cleanup
14 years ago
rlar
512644ca34
rewrite using wl_ functions
14 years ago
rlar
cd2cab2a94
bug fix, cp_ioreset(): fclosing an already closed stream
causing memory corruption when using `>&' stderr redirection
14 years ago
h_vogt
4d0d0fafb9
repair broken ternary function in B-Source
failed if parameters were included in function.
fixed by finding nested parens in gettok_char()
14 years ago
h_vogt
c3141d94e0
table: prevent crashes upon wrong inputs, allow time, temper, hertz as part of device or node name (e.g. Rtime), remove some memory leaks
14 years ago
rlar
1e65ea9e80
rewrite using wl_ functions
this fixed following bug as well:
echo "echo abra ; ; echo kadabra" | ngspice -p
building a circular list and looping forever
14 years ago
rlar
561d30e5bf
implement wl_chop()
14 years ago
h_vogt
87c80b842c
gettok_char(), return(NULL) if substring not found
14 years ago
rlar
fee664bc19
untabify
14 years ago
rlar
31ee05ceef
mw_coms.c, fix the cleanup using wl_cons()
14 years ago
rlar
8d0306c27a
cpif.c, whitespace, indentation, cleanups
14 years ago
rlar
75d6f6da5e
cpitf.c, cleanup using wl_ functions
14 years ago
rlar
3062e25184
mw_comms.c, whitespace, indentation, cleanups
14 years ago
rlar
95978d3697
mw_coms.c, cleanup using wl_cons()
14 years ago
rlar
2b859633a1
fix the fix wl_reverse() for empty lists
14 years ago
rlar
a890a55937
fix wl_reverse() for empty lists
14 years ago
rlar
5859f1a61d
comments for wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago
rlar
9655b9885a
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
14 years ago