rlar
|
9390a9a9ec
|
rewrite com_quit()
emphasize user confirmation
and if we are going to remove dangling circuits,
then do so unconditionally
|
14 years ago |
rlar
|
be183407cd
|
cleanup (checked for code invariance)
|
14 years ago |
rlar
|
ae6a16e3e4
|
plug a memory leak when executing `shell'
|
14 years ago |
rlar
|
fa81e9d007
|
plug a memory leak when (un)setting variables
|
14 years ago |
rlar
|
64139a243c
|
spiceif.c, cleanup (checked for code invariance)
|
14 years ago |
rlar
|
0c230b2970
|
spiceif.c, cleanup (checked for code invariance)
|
14 years ago |
rlar
|
10a9ae32c5
|
options.c cleanup
|
14 years ago |
rlar
|
a2f58da0d0
|
options.c, whitespace
|
14 years ago |
rlar
|
e93960f9ed
|
cleanup, if_options() will copy() anyway
|
14 years ago |
rlar
|
7126dd6f1d
|
display.c, cleanup
|
14 years ago |
rlar
|
0beb95757f
|
cancer of the semicolon
|
14 years ago |
rlar
|
d50ffdd987
|
swallow warnings
|
14 years ago |
rlar
|
1a2477bdcc
|
avoid `meas' syntax error causing segfault
Invalid meas crashes ngspice with SIGSEV - ID: 3554330
http://sourceforge.net/tracker/?func=detail&aid=3554330&group_id=38962&atid=423915
|
14 years ago |
rlar
|
46980f2cc6
|
plotit.c #9/9, whitespace
|
14 years ago |
rlar
|
4803d8bba2
|
plotit.c #8/9, braces
|
14 years ago |
rlar
|
6a334da2b4
|
plotit.c #7/9, braces
|
14 years ago |
rlar
|
f587553217
|
plotit.c #6/9, braces
|
14 years ago |
rlar
|
088e88d9b2
|
plotit.c #5/9, localize
|
14 years ago |
rlar
|
5f1387892c
|
plotit.c #4/9, line wrap
|
14 years ago |
rlar
|
ed4ad1c0dd
|
plotit.c #3/9, drop some comments
|
14 years ago |
rlar
|
5c43e8f2fc
|
plotit.c #2/9, emphasize maximize/minimize
|
14 years ago |
rlar
|
406fc29007
|
plotit.c #1/9, think positive
|
14 years ago |
h_vogt
|
11ae043c3d
|
com_measure2.c: enable 'meas dc' without 'from' and 'to' given
measure.c: no error printout during autostop
|
14 years ago |
rlar
|
d6ba5e5b3f
|
cleanup free_struct_variable()
|
14 years ago |
rlar
|
75c59a26fa
|
variable.c, cleanup (mostly whitespace)
|
14 years ago |
dwarning
|
99b167b272
|
correct alter of mos geometries for binned models
|
14 years ago |
rlar
|
51271d2a0b
|
cp_oddcomm(), plug a memory leak
|
14 years ago |
h_vogt
|
acfc7a2a27
|
remove memory leaks
|
14 years ago |
h_vogt
|
05437b1d48
|
inpcom.c: safely uncomment unused subcircuits (top level only)
if they contain further nested subcircuits
|
14 years ago |
rlar
|
e4c7a8df32
|
use wl_find()
|
14 years ago |
rlar
|
cf2a0f3df3
|
cleanup, linewrap
|
14 years ago |
rlar
|
191ae9ea90
|
cleanup, char 0
|
14 years ago |
rlar
|
5a69b9efc4
|
cleanup, void return
|
14 years ago |
rlar
|
ef37252155
|
lexical, use wl_append_word()
|
14 years ago |
rlar
|
62a4ee77d5
|
lexical #6/6, whitespace
|
14 years ago |
rlar
|
ea558fbc7f
|
lexical #5/6, cleanup
|
14 years ago |
rlar
|
aa188c0766
|
lexical #4/6, parentheses and braces
|
14 years ago |
rlar
|
c73c0f4318
|
lexical #3/6, rewrite
|
14 years ago |
rlar
|
5656203a6c
|
lexical #2/6, linewrap
|
14 years ago |
rlar
|
5d245c9dab
|
lexical #1/6, cleanup
|
14 years ago |
rlar
|
64d00a6b43
|
lexical #3/3, collapse append(NULL) into cp_ccom()
the sequence
orig_wlist = wlist;
append(NULL);
cp_ccom(wlist, ...);
is transformed.
expressions to care about in cp_ccom()
C1 := (wlist->wl_next != NULL)
C2 := (wlist->wl_word != NULL)
C3 := wl_length(wlist)
D1 := (orig_wlist != NULL)
D2 := (orig_wlist->wl_word != NULL)
D3 := wl_length(orig_wlist);
cases and their significance in cp_ccom():
orig_wlist = NULL;
wlist = wl_cons(NULL, NULL);
C1 == false
D1 == false
C2,C3 dont care
orig_wlist = wl_cons(E1, wl_cons(E2, ... wl_cons(En, NULL)))
wlist = wl_cons(E1, wl_cons(E2, .... wl_cons(En, wl_cons(NULL, NULL))))
C1 == true
D1 == true
C2 === D2
C3 === D3 + 1
|
14 years ago |
rlar
|
fec5b00a0d
|
lexical #2/3, fix memory leaks
|
14 years ago |
rlar
|
042311d0c3
|
lexical #1/3, move append(NULL) invokations into position
|
14 years ago |
rlar
|
1195498978
|
lexical #19/19, rewrite
|
14 years ago |
rlar
|
5b67ecda79
|
lexical #18/19, rewrite
`cw' won't be looked at, thus the append + removal can be dropped
`wl_word' is already NULL
|
14 years ago |
rlar
|
f990e517b5
|
lexical #17/19, rewrite
|
14 years ago |
rlar
|
fa9be4336a
|
lexical #16/19, transform append --> append(word)
|
14 years ago |
rlar
|
43a6d59c72
|
lexical #15/19, drop `delayed' which is never zero ...
|
14 years ago |
rlar
|
47b5e9576d
|
lexical #14/19, drop `delayed = 0' wherever its effect isn't visible
without effect, because we return or will overwrite it anyway
|
14 years ago |
rlar
|
01df4e9437
|
lexical #13/19, delay `append'
delay its execution, until
either `wlist' or `cw' will be accessed,
or
a return or goto nloop is inevitable
|
14 years ago |