h_vogt
8dbefe2153
inpcom.c: allow proper 'temper' substitution
if device name and parameter name are the same,
or if parameter name is the last token in the line.
12 years ago
h_vogt
bdcd7dc1a7
inp.c: evaluate for 'temper' only the models which have
been entered into the hash table ckt->MODnameHash
12 years ago
h_vogt
75eee691c4
inpcom.c remove bug: parens around equation h, f
add equation + temper capability to gain of F-Source
12 years ago
h_vogt
606c98904d
inpcom.c: H Source with equation and temper in transresistance
12 years ago
dwarning
c8f5d49ddd
implement CKTsoaCheck()
13 years ago
rlar
e2292cc5c4
inpcom.c, drop cp_tildexpand() in expand_this(), inp_pathresolve_at() shall do this
13 years ago
rlar
71fc51871e
inpcom.c, rewrite .lib reading
use canonical file names to remember known .lib files
remember their directories in `habitat'
use inp_pathresolve_at() to find .lib files with regard to `searchpath' and current directory
13 years ago
rlar
f2d3c9f122
inpcom.c, recurse expand_section_ref()
13 years ago
rlar
366d79b9b9
inpcom.c, cleanup
13 years ago
rlar
0420c0604b
inpcom.c, whitespace cleanup
13 years ago
rlar
8fe86bb1c9
inpcom.c, reorder
13 years ago
rlar
0a2f5d2e55
inpcom.c, abstraction, introduce expand_section_ref()
13 years ago
rlar
6c30ad1b1e
inpcom.c, simplify `.include' file processing using inp_pathresolve_at()
13 years ago
rlar
196102ee88
inpcom.c, introduce inp_pathresolve_at()
13 years ago
rlar
51bbd8c4d4
inpcom.c, introduce inp_pathresolve(), rewrite inp_pathopen() using this
13 years ago
h_vogt
9959030765
inpcom.c, for mingw absolute pathnames may begin with /d/
allow this when variable 'mingwpath' is set in .spinit
13 years ago
h_vogt
85ddc5b6db
inpcom.c, remove variable "sourcefile" and references to "sourcefile"
this will no longer be required for access to input file residing
in the executable's directory
13 years ago
rlar
9b4238ed04
inpcom.c, fix inp_pathopen(), always try to fopen() relative to the current working directory first
13 years ago
rlar
0ce23e6f10
inpcom.c, fix inp_pathopen(), relative path shall be expanded regarding "sourcepath"
13 years ago
rlar
7524882f67
inpcom.c, simplify using is_plain_filename(), fix incorrect comments
12 years ago
rlar
e0c398024f
inpcom.c, implement is_absolute_pathname() and is_plain_filename()
12 years ago
h_vogt
bb121fe903
inp.c, evtinit.c: improved error message
suggested by Calin Andrian
12 years ago
h_vogt
780ccbfb3c
prevent crash, if due to input bug ckt is not created,
reported by Andrian
12 years ago
h_vogt
8ad6bd209d
replacements for functions missing in the msvc world
12 years ago
rlar
492f1f006c
numparam, almost full precision for stringified double float numbers
13 years ago
rlar
6a2060e472
xpressn.c, drop initkeys()
13 years ago
rlar
7463410a5e
xpressn.c, drop "AND OR NOT DIV MOD DEFINED" keywords
13 years ago
rlar
6b1363dcf7
xpressn.c, use C strings for the arguments of `keywords()'
13 years ago
rlar
a855a19d2c
xpressn.c, drop '&' and '|' operators, (we have '&&' and '||')
13 years ago
rlar
719b5e5c20
inpcom.c, exclude currently unused functions
13 years ago
rlar
df0d1826ca
inpcom.c, drop ternary_fcn code in inpcom.c, the extended "formula" shall process ternary expressions
13 years ago
rlar
ef3580d590
xpressn.c, whitespace cleanup
13 years ago
rlar
1ac45bfd57
xpressn.c, implement a?b:c in the "formula" parser
13 years ago
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
12 years ago
rlar
9cb20e97d0
xpressn.c, use enums instead of literals
12 years ago
rlar
297778127b
xpressn.c, drop "Defd" enum, to be incorporated into a bigger enum
12 years ago
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)
13 years ago
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
a235b46795
inpcom.c, add missing condition `!comfile' for .title and .end processing
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