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
|
13 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 |
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 |
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 |