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
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
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
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
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
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
37e4ec8f05
inpcom.c, emphasize the inp_readall() tail processing
13 years ago
rlar
632add21c5
inpcom.c, delete_libs() can use line_free_x() now
13 years ago
rlar
b3cb5cedd5
inpcom.c, local scope for `ipc_status'
13 years ago
rlar
cb932803b6
inp_fix_ternary_operator_str, pinpoint serious bugs
13 years ago
rlar
dfcbc52ee6
inp_fix_ternary_operator_str, use a local variable to improve readability
13 years ago
rlar
7452971177
inp_fix_ternary_operator_str, use `copy_substring()'
13 years ago
rlar
92f9d7a309
inp_fix_ternary_operator_str, limit backward search
13 years ago
rlar
b51fe0eb8b
inp_fix_ternary_operator_str, cleanup
13 years ago