rlar
|
11579d9369
|
cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)
|
14 years ago |
h_vogt
|
c0bc0de4b5
|
prototype for controlled_exit()
|
14 years ago |
rlar
|
f52ae6eccd
|
bug fix, invalid read when the title line is the empty
|
14 years ago |
rlar
|
fe1acd3757
|
src/frontend/** remove superfluous `return' invocations
|
14 years ago |
rlar
|
7454a6d486
|
src/frontend/**, whitespace, indentation, ...
untabify
delete-trailing-whitespace
braces
...
checked for object file invariance on linux
|
14 years ago |
rlar
|
3d7ab6a297
|
cleanup keyword databases on proram termination
|
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
|
9655b9885a
|
cleanup, use wl_cons(), wl_append_word() and wl_chop_rest()
|
14 years ago |
rlar
|
e1f8033f1c
|
bug fix, incorrect update of a wordlist's wl_prev pointer
|
14 years ago |
rlar
|
e396b15104
|
use type `struct ccom'
|
14 years ago |
rlar
|
cc7afb7abb
|
drop (char*) cast in the third argument of ioctl()
|
14 years ago |
rlar
|
f285dd0aa8
|
use strchr() instead of index()
|
14 years ago |
rlar
|
4ca58067a2
|
#2/6 config.h --> ngspice/config.h, #include's
|
14 years ago |
rlar
|
10346e055c
|
#1/4 #include <ngspice/...> --> #include "ngspice/..."
|
15 years ago |
rlar
|
d26015586c
|
#1/7 use a subdirectory "ngspice" for includes to create a uniq namespace
|
15 years ago |
h_vogt
|
e6c86b4d98
|
explicit casting double -> int etc.
|
15 years ago |
rlar
|
66289067ba
|
rename variable class --> kw_class
|
15 years ago |
rlar
|
e6c30efe46
|
Nr 4/5 (x = ...) != NULL , swallow warnings
|
16 years ago |
rlar
|
abb87a6115
|
rename `IGNORE()' --> `NG_IGNORE()'
|
16 years ago |
rlar
|
80286e0032
|
pour `IGNORE()' all over the source
|
16 years ago |
rlar
|
b4ffca60c4
|
(int) casts for some `strlen()' expressions
|
16 years ago |
rlar
|
7b3960506f
|
wrap tmalloc MALLOC etc, into two macros TMALLOC and TREALLOC
|
16 years ago |
rlar
|
3369d860b4
|
cast the return values of malloc() function calls
|
16 years ago |
dwarning
|
37fffd911f
|
functions used in this branch only
|
19 years ago |
dwarning
|
41325622fd
|
some clean-up's to come through MSC
|
19 years ago |
pnenzi
|
8362dec274
|
Integrated code from tclspice, brorson xspice and Vera memleak.
|
23 years ago |
pnenzi
|
937e3db647
|
Holger Vogt Windows port for Ngspice.
|
25 years ago |
pnenzi
|
7583d1849e
|
Applied another bunch of patches sent by CDHW (Charles D.H. Williams). The patches
are aimed to close some leaks in the parser.
|
25 years ago |
pnenzi
|
ccfdf80c2e
|
Applied patches for BSD OSes
|
26 years ago |
arno
|
9dd92c7315
|
* com_history, com_alias, parser/cshpar.c, parser/complete.c:
|
26 years ago |
pnenzi
|
19129762ad
|
Added Glao Dezai's patches (some memory leaks fixes)
|
26 years ago |
arno
|
cc51f0e8db
|
* src/main.c, src/multidec.c, src/proc2mod.c,
|
26 years ago |
arno
|
b04989d760
|
* src/hlp/*: moved these files into src/frontend/help. The files
|
26 years ago |
pnenzi
|
978f1c32a2
|
Initial revision
|
26 years ago |