rlar
6325a4b7ab
inp_fix_temper_in_param(), bug fix, failure to skip whitespace
12 years ago
rlar
5c50ec501d
inpcom.c, cleanup using new function 'search_identifier()'
12 years ago
rlar
a9a43e4b76
inpcom.c, cleanup inp_add_series_resistor()
12 years ago
rlar
7476dec093
inpcom.c, use '\0'
12 years ago
rlar
7f7453a227
inp_do_macro_param_replace(), fix several bugs concerning .func processing
12 years ago
rlar
fd47aafc4e
fix commit, "bug fix, `#279 Problem when using a function to set initial value"
12 years ago
rlar
fbdea9be3d
inpcom.c, inp_fix_inst_calls_for_numparam() rewrite for cleanup
12 years ago
rlar
6d30585a5e
inpcom.c, inp_fix_inst_calls_for_numparam(), local scope for some vars
12 years ago
rlar
5862d1b297
inpcom.c, inp_fix_inst_calls_for_numparam(), avoid excess tfree() invocations
12 years ago
rlar
e652dc40be
inpcom.c, drop unused artifacts
12 years ago
rlar
7a6b569b3b
inpcom.c, rewrite bizarre code in inp_get_params()
12 years ago
rlar
7813f6cf6a
cleanup, use tprintf()
13 years ago
rlar
7aa454e5b4
rewrite, using tprintf()
12 years ago
rlar
b6ed9a3620
bug fix, `#279 Problem when using a function to set initial value"
reported by Marcel Hendrix in
http://sourceforge.net/p/ngspice/bugs/279/
"SPF_time" erroneously did match "time"
introduce a saver matcher for
`v(' `i(' `temper' `time' and `hertz'
when checking for behavioural R,L,C devices
12 years ago
rlar
060257a468
inpcom.c, sharedlib, strip leading whitepace from circuit deck
this was traditionally done in inp_read() by readline(),
and was missing for circuit decks passed by 'circarray'
12 years ago
rlar
66281cad4e
inpcom.c: exclude command 'shell' from lower case letter transformation
reported by Dominique Michel
[Ngspice-users] gs is confused with the shell command
shell gs -dBATCH -dNOPAUSE -sDEVICE=png256 -sOutputFile="plot.png"
12 years ago
h_vogt
74b32f392c
inpcom.c: E, G source, improved search for 'vol' and 'cur'
in response to a bug report by Marlize Schoeman
"#274 VCVS Exxxx name and node names do not allow VOL as text"
http://sourceforge.net/p/ngspice/bugs/274/
12 years ago
h_vogt
0e2fc3ceef
inpcom.c: allow node names and .func parameters having
equal string representation
12 years ago
h_vogt
a717fd01ab
inpcom.c: enable .include with $end-of-line in .control section
12 years ago
h_vogt
59de942bdf
enable parameter replacement in R, L, C lines, if equation is
without {} and not in a subcircuit
12 years ago
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
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
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
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