rlar
2854fa71d4
fix an endless loop waiting for y/n when the input is at EOF
reported by Calin Andrian
Subject: [Ngspice-devel] Invaild number bug
12 years ago
rlar
467eb58244
xpressn.c, fix semantics of '&&' and '||'
these shall interpret a value as a bool according to (value != 0)
and these shall evaluate to either 1.0 or 0.0
13 years ago
rlar
f6d610a1b6
xpressn.c, whitespace cleanup
13 years ago
rlar
0a42a19b02
xpressn.c, fix `truth' for ternary_fcn()
0.0 is `false', everything else is `true'
13 years ago
rlar
589ded417a
update bison generated files
13 years ago
rlar
b32ae9f79b
.control and `B' parser, fix precedence of '-' versus '^'
-2^2 shall be -(2^2) instead of (-2)^2
13 years ago
h_vogt
ad5c09a865
remove unused code
13 years ago
rlar
a4ac854d50
devices/hisimhv1, devices/hisim2, avoid overlapping globals TMF1 ... TMF6
reported by James Jackson in message:
[Ngspice-users] Problem building git head --with-ngspice Mac OS X
13 years ago
rlar
aae92bf259
avoid overlapping "Dummy" symbols
reported by James Jackson in message:
[Ngspice-users] Problem building git head --with-ngspice Mac OS X
13 years ago
rlar
a235b46795
inpcom.c, add missing condition `!comfile' for .title and .end processing
13 years ago
dwarning
5bc8429b2f
correct the step incrementing type to SENS_LINEAR
13 years ago
h_vogt
3c49c4eb8f
fix criterion to start `.lib' and `.global gnd' processing
13 years ago
rlar
10f651da35
inpcom.c: MSVC compatibility
13 years ago
rlar
dc2cd6fe01
inpcom.c, cleanup inp_readall() #7/7, drop misleading comment
13 years ago
rlar
11573327f4
inpcom.c, cleanup inp_readall() #6/7, tautology `call_depth == 0'
13 years ago
rlar
893e094faa
inpcom.c, cleanup inp_readall() #5/7, use `rv . line_number' itself
13 years ago
rlar
4b1cbd8c8b
inpcom.c, cleanup inp_readall() #4/7, move inp_read() epilog to inp_readall()
13 years ago
rlar
f29ef643dc
inpcom.c, cleanup inp_readall() #3/7, return `line_number' too
13 years ago
rlar
ab607102e6
inpcom.c, cleanup inp_readall() #2/7, move inp_read() prolog to inp_readall()
13 years ago
rlar
d598630b72
inpcom.c, cleanup inp_readall() #1/7, introduce inp_read()
13 years ago
rlar
9b7a5ab54d
bug fix, .include and .lib files don't have a `title' line
13 years ago
dwarning
bdf3dced00
add missing tc1 and tc2 parameter entries in ask function
13 years ago
dwarning
5d2fd1ece0
whitespaces
13 years ago
dwarning
4965d02b5f
fix an overlap in parameter definitions
13 years ago
rlar
6d371c9532
cleanup getopt_long() options
13 years ago
rlar
e2bc7b4d89
read_a_lib(), drop call_depth, its always zero
13 years ago
rlar
b19bd3fb3f
expand_section_references(), drop call_depth, its always zero
13 years ago
rlar
a009dfdbbe
harmonize delete_libs()
13 years ago
h_vogt
02555fbe99
bug reported by Yamamaya: revert deleting dicoS structure in inp.c and measure.c:
still to be used by 'listing param'
deletion moved to com_remcirc()
13 years ago
h_vogt
a2522def52
inpcom.c: patch provided by Krzysztof Blaszkowski
Allow spaces like { token } during parameter substitution
13 years ago
rlar
d5b1c4faa5
inpcom.c, rewrite, collapsing find_lib() into read_a_lib()
13 years ago
rlar
cf2f74c9e0
inpcom.c: '$' as end-of-line comment delimiter outside of .control section, '$ ' inside of .control section, # untabify
13 years ago
h_vogt
90a4be3a93
inpcom.c: '$' as end-of-line comment delimiter
outside of .control section,
'$ ' inside of .control section
13 years ago
h_vogt
bee18c3b25
inpcom.c: allow special characters in function names
13 years ago
rlar
a921b5444e
inpcom.c: patch provided by Simon Chang: correct function name substitution #2
13 years ago
h_vogt
2c38a69f92
inpcom.c: patch provided by Simon Chang: correct function name substitution
13 years ago
rlar
a94170d2ab
gettok_node(), use copy_substring()
13 years ago
Krzysztof Blaszkowski
493aaba468
gettok_node(), avoid segfault when *s == NULL
13 years ago
Krzysztof Blaszkowski
23cdd5e53f
inpcom.c: avoid segfault when `TABLE' is used without parentheses
13 years ago
rlar
bf9551287e
inp_stripcomments_line(), drop support for '--' comment style
seems to be not common in the spice world,
and interferes too much with mathematical expressions like
{3--2}
13 years ago
Krzysztof Blaszkowski
9d223d6778
execute ft_sigintr_cleanup() outside of the signal handler
to avoid execution of non-reentrant functions
13 years ago
Krzysztof Blaszkowski
1cf3dc81bb
abstraction, introduce ft_sigintr_cleanup()
13 years ago
Krzysztof Blaszkowski
fde7be49b9
ft_sigintr(), reorder, side effect: if `ft_setflag' then gr_clean() won't be invoked
and can't be invoked anyway
from inside of the signal handler
13 years ago
dwarning
06dd6abcf2
fix an overlap in parameter definitions
13 years ago
Krzysztof Blaszkowski
6a00876731
nipred.c, cleanup
13 years ago
Krzysztof Blaszkowski
30f1607a0a
nipred.c, bug fix NIpred() when running 'TRAPEZOIDAL'
a long standing serious bug, allready in the very first commit from
Date: Thu Apr 27 20:03:57 2000 +0000
Nipred() after evaluating TRAPEZOIDAL case fell through into GEAR case.
see:
http://sourceforge.net/p/ngspice/support-requests/18/
13 years ago
rlar
bbdf2a2da0
revert, msvc doesn't support `#warning'
13 years ago
h_vogt
8015442a22
inpcom.c: improved character check around 'temper'
13 years ago
rlar
feb43795b2
numparm, fix pow() implementation
13 years ago
rlar
1dda94fb7a
numparm, cleanup formula()
13 years ago