rlar
63db630a0a
inp_fix_temper_in_param(), cleanup using 'skip_back_ws()'
12 years ago
rlar
6325a4b7ab
inp_fix_temper_in_param(), bug fix, failure to skip whitespace
12 years ago
rlar
5c50ec501d
inpcom.c, cleanup using new function 'search_identifier()'
12 years ago
rlar
a9a43e4b76
inpcom.c, cleanup inp_add_series_resistor()
12 years ago
rlar
7476dec093
inpcom.c, use '\0'
12 years ago
rlar
7f7453a227
inp_do_macro_param_replace(), fix several bugs concerning .func processing
12 years ago
rlar
fd47aafc4e
fix commit, "bug fix, `#279 Problem when using a function to set initial value"
12 years ago
Giorgio Vazzana
0348dcd251
bug fix, #286 buffer overflow in src/frontend/plotting/grid.c
12 years ago
rlar
4eeb1361d6
spicenum.c, rewrite nupa_done()
12 years ago
rlar
d2d606a79a
spicenum.c, rewrite putlogfile()
12 years ago
rlar
da6790e68d
numparam, change np_trunc() and np_round() return type to double
12 years ago
rlar
c1bd74f982
mystring.c, drop auxiliary implementations of np_round() and np_trunc()
12 years ago
rlar
4abb068405
xpressn.c, use fabs()
12 years ago
rlar
d17c0d7813
mystring.c, rewrite spos_()
12 years ago
rlar
bf3888c490
numparam, drop "//" comment processing (already done in inpcom.c)
12 years ago
rlar
80b0ac22a4
xpressn.c, rewrite message() usage
12 years ago
rlar
20d651f00c
subckt.c, #5/5 local scope for orig_modnames
12 years ago
rlar
c01fa9153f
subckt.c, #4/5 rename modnames --> new_modnames
12 years ago
rlar
d7882badfd
subckt.c, #3/5 rename translated_model_name --> new_model_name
12 years ago
rlar
39abfee774
subckt.c, #2/5 rename submod --> orig_modnames
12 years ago
rlar
cb25ce757e
subckt.c, #1/5 cleanup modtranslate() signature
12 years ago
rlar
aa7a7606c7
avoid multiple declarations of controlled_exit(), add 'noreturn' attribute
13 years ago
rlar
fbdea9be3d
inpcom.c, inp_fix_inst_calls_for_numparam() rewrite for cleanup
12 years ago
rlar
6d30585a5e
inpcom.c, inp_fix_inst_calls_for_numparam(), local scope for some vars
12 years ago
rlar
5862d1b297
inpcom.c, inp_fix_inst_calls_for_numparam(), avoid excess tfree() invocations
12 years ago
rlar
e652dc40be
inpcom.c, drop unused artifacts
12 years ago
rlar
7a6b569b3b
inpcom.c, rewrite bizarre code in inp_get_params()
12 years ago
rlar
6f89395d8a
fix commit: introduce OUTerrorf() and IFerrorf()
12 years ago
rlar
cc235294ec
lexical.c, change semantics of an ESCAPE in a given input `string'
now simply skip it.
presumably and in accordance to what the comments seems to suggest
ESCAPE never was really meant to be read as '['
but was replaced just to get it out of way deeper in the for loop
where an ESCAPE starts an ancient mechanism to reenter
interactive input via a terminals TIOCSTI capability
12 years ago
rlar
cb75a749b8
lexical.c, avoid to read beyond end of `string'
12 years ago
rlar
f42b5b16c7
lexical.c, simplify
12 years ago
rlar
8c7ae0d61c
lexical.c, simplify using cp_readchar()
12 years ago
rlar
448099ef94
lexical.c, new function cp_readchar() for abstraction
12 years ago
rlar
9bd2cdfc7b
modtranslate(), cleanup using tprintf()
12 years ago
rlar
7813f6cf6a
cleanup, use tprintf()
13 years ago
rlar
cc56c90b9d
drop asprintf()
13 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
1a0a00c9c2
inp.c, nicer printout of multi line error messages
12 years ago
rlar
f26c1b71f9
introduce OUTerrorf() and IFerrorf()
a varargs variant of the older variants OUTerror() and IFerror()
12 years ago
rlar
0182f2f7ca
swallow an unused format argument warning
12 years ago
Y.Niitsu
4de727f4a9
update bison generated files
12 years ago
Y.Niitsu
6e3f60c6bd
frontend/parse.c, allow nested `indexing', for example foo[bar[n]]
.control
compose ex1 values 111 222 333
compose ex2 values 1 2 3
print ex1 ex2 ex1[ex2[1]]
.endc
12 years ago
rlar
b6ed9a3620
bug fix, `#279 Problem when using a function to set initial value"
reported by Marcel Hendrix in
http://sourceforge.net/p/ngspice/bugs/279/
"SPF_time" erroneously did match "time"
introduce a saver matcher for
`v(' `i(' `temper' `time' and `hertz'
when checking for behavioural R,L,C devices
12 years ago
rlar
060257a468
inpcom.c, sharedlib, strip leading whitepace from circuit deck
this was traditionally done in inp_read() by readline(),
and was missing for circuit decks passed by 'circarray'
12 years ago
h_vogt
8499ef0428
.option 'savecurrents' for storing all current of relevant devices
12 years ago
dwarning
461026f2b9
fix to use garbage collector with --enable-gc
12 years ago
h_vogt
bdb54257c7
outitf.c: new option interp to plot interpolated raw file data
during transient analysis
12 years ago
h_vogt
0609d231c0
runcoms2.c: prevent crash after 'remcirc' if no circuit is loaded
12 years ago
rlar
66281cad4e
inpcom.c: exclude command 'shell' from lower case letter transformation
reported by Dominique Michel
[Ngspice-users] gs is confused with the shell command
shell gs -dBATCH -dNOPAUSE -sDEVICE=png256 -sOutputFile="plot.png"
12 years ago
h_vogt
1f5de32512
global variable Infile_Path, which contains the
input netlist file path
12 years ago