h_vogt
0e2fc3ceef
inpcom.c: allow node names and .func parameters having
...
equal string representation
2014-01-02 09:33:33 +01:00
h_vogt
a717fd01ab
inpcom.c: enable .include with $end-of-line in .control section
2014-01-02 09:33:28 +01:00
h_vogt
59de942bdf
enable parameter replacement in R, L, C lines, if equation is
...
without {} and not in a subcircuit
2014-01-02 09:33:16 +01:00
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.
2014-01-02 09:33:09 +01:00
h_vogt
75eee691c4
inpcom.c remove bug: parens around equation h, f
...
add equation + temper capability to gain of F-Source
2014-01-02 09:33:03 +01:00
h_vogt
606c98904d
inpcom.c: H Source with equation and temper in transresistance
2014-01-02 09:33:01 +01:00
rlar
e2292cc5c4
inpcom.c, drop cp_tildexpand() in expand_this(), inp_pathresolve_at() shall do this
2014-01-02 09:32:29 +01:00
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
2014-01-02 09:32:27 +01:00
rlar
f2d3c9f122
inpcom.c, recurse expand_section_ref()
2014-01-02 09:32:25 +01:00
rlar
366d79b9b9
inpcom.c, cleanup
2014-01-02 09:32:24 +01:00
rlar
0420c0604b
inpcom.c, whitespace cleanup
2014-01-02 09:32:22 +01:00
rlar
8fe86bb1c9
inpcom.c, reorder
2014-01-02 09:32:20 +01:00
rlar
0a2f5d2e55
inpcom.c, abstraction, introduce expand_section_ref()
2014-01-02 09:32:19 +01:00
rlar
6c30ad1b1e
inpcom.c, simplify `.include' file processing using inp_pathresolve_at()
2014-01-02 09:32:17 +01:00
rlar
196102ee88
inpcom.c, introduce inp_pathresolve_at()
2014-01-02 09:32:15 +01:00
rlar
51bbd8c4d4
inpcom.c, introduce inp_pathresolve(), rewrite inp_pathopen() using this
2014-01-02 09:32:11 +01:00
h_vogt
9959030765
inpcom.c, for mingw absolute pathnames may begin with /d/
...
allow this when variable 'mingwpath' is set in .spinit
2014-01-02 09:32:08 +01:00
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
2014-01-02 09:32:06 +01:00
rlar
9b4238ed04
inpcom.c, fix inp_pathopen(), always try to fopen() relative to the current working directory first
2014-01-02 09:32:03 +01:00
rlar
0ce23e6f10
inpcom.c, fix inp_pathopen(), relative path shall be expanded regarding "sourcepath"
2014-01-02 09:31:58 +01:00
rlar
7524882f67
inpcom.c, simplify using is_plain_filename(), fix incorrect comments
2014-01-02 09:31:56 +01:00
rlar
e0c398024f
inpcom.c, implement is_absolute_pathname() and is_plain_filename()
2014-01-02 09:31:55 +01:00
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
a235b46795
inpcom.c, add missing condition `!comfile' for .title and .end processing
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
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
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
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
rlar
bbdf2a2da0
revert, msvc doesn't support `#warning'
2013-12-31 16:25:37 +01:00
h_vogt
8015442a22
inpcom.c: improved character check around 'temper'
2013-12-31 16:25:36 +01:00
rlar
37e4ec8f05
inpcom.c, emphasize the inp_readall() tail processing
2013-12-31 16:25:22 +01:00