rlar
|
719b5e5c20
|
inpcom.c, exclude currently unused functions
|
2013-12-31 16:42:03 +01:00 |
rlar
|
df0d1826ca
|
inpcom.c, drop ternary_fcn code in inpcom.c, the extended "formula" shall process ternary expressions
|
2013-12-31 16:41:36 +01:00 |
rlar
|
ef3580d590
|
xpressn.c, whitespace cleanup
|
2013-12-31 16:41:35 +01:00 |
rlar
|
1ac45bfd57
|
xpressn.c, implement a?b:c in the "formula" parser
|
2013-12-31 16:41:34 +01:00 |
rlar
|
1b959e6a50
|
xpressn.c, drop XFU_V
probably accidentally introduced in commit
> Author: h_vogt <h_vogt>
> Date: Sun Feb 7 11:27:59 2010 +0000
>
> improved numparam error message
|
2013-12-31 16:41:34 +01:00 |
rlar
|
9cb20e97d0
|
xpressn.c, use enums instead of literals
|
2013-12-31 16:41:33 +01:00 |
rlar
|
297778127b
|
xpressn.c, drop "Defd" enum, to be incorporated into a bigger enum
|
2013-12-31 16:41:32 +01:00 |
rlar
|
76c7cd6fbd
|
xpressn.c, fix semantics of `int(x)' and remove dangerous macros
int(x) most probably shall be trunc(x) instead of floor(x)
note trunc(x) was #defined beeing floor(x)
note ln(x) was #defined beeing log(x)
|
2013-12-31 16:41:32 +01:00 |
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
|
2013-12-31 16:41:31 +01:00 |
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
|
2013-12-31 16:41:30 +01:00 |
rlar
|
f6d610a1b6
|
xpressn.c, whitespace cleanup
|
2013-12-31 16:41:30 +01:00 |
rlar
|
0a42a19b02
|
xpressn.c, fix `truth' for ternary_fcn()
0.0 is `false', everything else is `true'
|
2013-12-31 16:41:29 +01:00 |
rlar
|
589ded417a
|
update bison generated files
|
2013-12-31 16:41:29 +01:00 |
rlar
|
b32ae9f79b
|
.control and `B' parser, fix precedence of '-' versus '^'
-2^2 shall be -(2^2) instead of (-2)^2
|
2013-12-31 16:41:28 +01:00 |
h_vogt
|
ad5c09a865
|
remove unused code
|
2013-12-31 16:41:27 +01:00 |
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
|
2013-12-31 16:41:27 +01:00 |
rlar
|
aae92bf259
|
avoid overlapping "Dummy" symbols
reported by James Jackson in message:
[Ngspice-users] Problem building git head --with-ngspice Mac OS X
|
2013-12-31 16:41:26 +01:00 |
rlar
|
a235b46795
|
inpcom.c, add missing condition `!comfile' for .title and .end processing
|
2013-12-31 16:41:25 +01:00 |
dwarning
|
5bc8429b2f
|
correct the step incrementing type to SENS_LINEAR
|
2013-12-31 16:41:25 +01:00 |
h_vogt
|
3c49c4eb8f
|
fix criterion to start `.lib' and `.global gnd' processing
|
2013-12-31 16:41:24 +01:00 |
rlar
|
10f651da35
|
inpcom.c: MSVC compatibility
|
2013-12-31 16:41:23 +01:00 |
rlar
|
dc2cd6fe01
|
inpcom.c, cleanup inp_readall() #7/7, drop misleading comment
|
2013-12-31 16:41:22 +01:00 |
rlar
|
11573327f4
|
inpcom.c, cleanup inp_readall() #6/7, tautology `call_depth == 0'
|
2013-12-31 16:41:22 +01:00 |
rlar
|
893e094faa
|
inpcom.c, cleanup inp_readall() #5/7, use `rv . line_number' itself
|
2013-12-31 16:41:21 +01:00 |
rlar
|
4b1cbd8c8b
|
inpcom.c, cleanup inp_readall() #4/7, move inp_read() epilog to inp_readall()
|
2013-12-31 16:40:38 +01:00 |
rlar
|
f29ef643dc
|
inpcom.c, cleanup inp_readall() #3/7, return `line_number' too
|
2013-12-31 16:26:15 +01:00 |
rlar
|
ab607102e6
|
inpcom.c, cleanup inp_readall() #2/7, move inp_read() prolog to inp_readall()
|
2013-12-31 16:26:14 +01:00 |
rlar
|
d598630b72
|
inpcom.c, cleanup inp_readall() #1/7, introduce inp_read()
|
2013-12-31 16:26:12 +01:00 |
rlar
|
9b7a5ab54d
|
bug fix, .include and .lib files don't have a `title' line
|
2013-12-31 16:26:11 +01:00 |
dwarning
|
bdf3dced00
|
add missing tc1 and tc2 parameter entries in ask function
|
2013-12-31 16:26:10 +01:00 |
dwarning
|
5d2fd1ece0
|
whitespaces
|
2013-12-31 16:26:09 +01:00 |
dwarning
|
4965d02b5f
|
fix an overlap in parameter definitions
|
2013-12-31 16:26:07 +01:00 |
rlar
|
6d371c9532
|
cleanup getopt_long() options
|
2013-12-31 16:26:06 +01:00 |
rlar
|
e2bc7b4d89
|
read_a_lib(), drop call_depth, its always zero
|
2013-12-31 16:26:05 +01:00 |
rlar
|
b19bd3fb3f
|
expand_section_references(), drop call_depth, its always zero
|
2013-12-31 16:26:03 +01:00 |
rlar
|
a009dfdbbe
|
harmonize delete_libs()
|
2013-12-31 16:26:02 +01:00 |
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()
|
2013-12-31 16:26:01 +01:00 |
h_vogt
|
a2522def52
|
inpcom.c: patch provided by Krzysztof Blaszkowski
Allow spaces like { token } during parameter substitution
|
2013-12-31 16:25:59 +01:00 |
rlar
|
d5b1c4faa5
|
inpcom.c, rewrite, collapsing find_lib() into read_a_lib()
|
2013-12-31 16:25:58 +01:00 |
rlar
|
cf2f74c9e0
|
inpcom.c: '$' as end-of-line comment delimiter outside of .control section, '$ ' inside of .control section, # untabify
|
2013-12-31 16:25:57 +01:00 |
h_vogt
|
90a4be3a93
|
inpcom.c: '$' as end-of-line comment delimiter
outside of .control section,
'$ ' inside of .control section
|
2013-12-31 16:25:56 +01:00 |
h_vogt
|
bee18c3b25
|
inpcom.c: allow special characters in function names
|
2013-12-31 16:25:54 +01:00 |
rlar
|
a921b5444e
|
inpcom.c: patch provided by Simon Chang: correct function name substitution #2
|
2013-12-31 16:25:53 +01:00 |
h_vogt
|
2c38a69f92
|
inpcom.c: patch provided by Simon Chang: correct function name substitution
|
2013-12-31 16:25:52 +01:00 |
rlar
|
a94170d2ab
|
gettok_node(), use copy_substring()
|
2013-12-31 16:25:50 +01:00 |
Krzysztof Blaszkowski
|
493aaba468
|
gettok_node(), avoid segfault when *s == NULL
|
2013-12-31 16:25:49 +01:00 |
Krzysztof Blaszkowski
|
23cdd5e53f
|
inpcom.c: avoid segfault when `TABLE' is used without parentheses
|
2013-12-31 16:25:48 +01:00 |
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}
|
2013-12-31 16:25:46 +01:00 |
Krzysztof Blaszkowski
|
9d223d6778
|
execute ft_sigintr_cleanup() outside of the signal handler
to avoid execution of non-reentrant functions
|
2013-12-31 16:25:45 +01:00 |
Krzysztof Blaszkowski
|
1cf3dc81bb
|
abstraction, introduce ft_sigintr_cleanup()
|
2013-12-31 16:25:44 +01:00 |