rlar
7d5c48c0f2
inpcom.c: rename inp_determine_libraries() --> collect_section_references()
13 years ago
rlar
fda6912f0e
inpcom.c: rename expand_libs() --> expand_section_references()
13 years ago
rlar
e898eb4faf
inpcom.c: rename function argument names
13 years ago
rlar
ffe82f1722
inpcom.c: rename function argument names
13 years ago
rlar
b22be31496
inpcom.c: cleanup
13 years ago
rlar
adeb2885c5
inpcom.c: rename library_file[] --> library_name[]
13 years ago
rlar
20f5bb3e2e
inpcom.c: rename library_name[][] --> section_name[][]
13 years ago
rlar
b8e3843f45
inpcom.c: rename library_ll_ptr[][] --> section_ref[][]
13 years ago
rlar
aa9d291114
inpcom.c: rename libraries[] -> library_deck[]
13 years ago
rlar
61ab7b1de2
inpcom.c: rename num_lib_names --> num_sections
13 years ago
rlar
d619a8b024
inpcom.c: rename new_lib_name() --> remember_section_ref()
13 years ago
rlar
05bd53b8de
inpcom.c: rename find_lib_name() --> find_section()
13 years ago
rlar
09e89df89d
inpcom.c: static declaration of library related global variables
13 years ago
rlar
d1764cc7fa
inp_readall() change function signature for readability
13 years ago
rlar
536d3c229f
inpcom.c: abstract into new function read_a_lib()
13 years ago
rlar
eaf4801b33
inpcom.c: rewrite using new function find_lib()
13 years ago
rlar
9d856dad61
inp_determine_libraries(): rewrite
13 years ago
rlar
9e3f2a9d28
inp_determine_libraries(): can happen at most once
13 years ago
rlar
111a258ff4
inpcom.c: small cleanup
13 years ago
rlar
b4db509d83
inpcom.c: comment .lib semantic
13 years ago
rlar
7463499523
inp_readall(): rename local variables
13 years ago
rlar
3877e2d0d6
inp_readall(): local scope for `tmp_ptr1'
13 years ago
rlar
5fda0e2694
inp_readall(): local scope for `fdo'
13 years ago
rlar
4184aa8c10
cleanup, use array operator
checked for object file invariance on linux with
./configure --enable-debug=no --enable-maintainer-mode --with-readline=yes --enable-cider --enable-ndev --enable-pss --enable-xspice
13 years ago
rlar
8c69016464
inpcom.c: rewrite for readability
13 years ago
rlar
dbfc90df0a
inpcom.c, bug fix, incorrect start value for `prev'
this bug was introduced in the following commit,
which `reused' variable prev,
failing to preserve its initialization value NULL
Author: pnenzi <pnenzi>
Date: Mon Oct 8 21:10:34 2007 +0000
Improvements in frontend by Phil Barker
13 years ago
h_vogt
20716d3496
inpcom.c: exit if 'poly' option is required, but XSPICE not available,
remove memory leak
13 years ago
rlar
83e3100917
remove unused variables
14 years ago
h_vogt
6a6c49516a
inpcom.c: remove memory leak
14 years ago
h_vogt
9d52468471
inpcom.c: plug memory leaks
14 years ago
h_vogt
d0f58dc5a6
inpcom.c: prevent invalid memory read/write
14 years ago
h_vogt
85244d0222
inpcom.c: remove bug in inp_add_series_resistor(),
prevent crash in inp_remove_ws() upon erroneous input
14 years ago
h_vogt
a57361333a
inpcom.c: add series resistor to each inductor with option rseries=1m
14 years ago
rlar
ba131a5077
remove adms3 #1/2, code
due to license issues, and with the aim to approach the next
ngspice release 25
we have to move this over to a development branch
14 years ago
rlar
a394d79c56
use utf-8 encoding
14 years ago
h_vogt
0853c374a1
inpcom.c: require parentheses in ternary functions if numparam
parser is involved (no B sources)
14 years ago
h_vogt
ae25f54709
inpcom.c: plug small memory leak
14 years ago
rlar
ebc50b8639
inpcom.c, rewrite
14 years ago
rlar
a4e167a657
inpcom.c, use strchr() in favour of strstr()
14 years ago
rlar
3b2b130177
inpcom.c, inp_fix_ternary_operator_str(), use copy_substring()
14 years ago
rlar
680e45f7f3
inpcom.c, inp_fix_ternary_operator_str(), rewrite
14 years ago
rlar
9352a4b72d
inpcom.c, get_instance_subckt(), more carefull when there is trailing whitespace
14 years ago
rlar
f61f323be0
inpcom.c, get_instance_subckt(), rewrite
14 years ago
rlar
7f0065e7fb
inpcom.c, make use of copy_substring()
14 years ago
rlar
69bf624097
inpcom.c, rewrite
14 years ago
rlar
3f4e2eed49
inpcom.c, bug fix in inp_get_subckt_name()
14 years ago
rlar
021a5dd871
inpcom.c, rewrite
14 years ago
rlar
e0b796f3c5
inpcom.c, rewrite
14 years ago
rlar
3085c471ac
inpcom.c, cleanup
14 years ago
rlar
dbf288bae7
inpcom.c, fix a bug
which was introduced in commit
skip-ws, #5/6, unify macro versions, obj not invariant
where the SKIP.*back.* macros have been unified
FIXME, the check for `\0' in the backwards direction if of course nonsense.
These backward functions either shall not check it at all (being optimistic),
or they shell check against a start of string pointer.
14 years ago