Commit Graph

259 Commits

Author SHA1 Message Date
rlar 68b5ccf445 inpcom.c: rename local variable names 2013-02-25 23:03:33 +01:00
rlar bae9e127d9 inpcom.c: rename found_lib_name --> found_section 2013-02-25 23:03:33 +01:00
rlar 7359aaf272 inpcom.c: rename inp_determine_libraries() --> collect_section_references() 2013-02-25 23:03:33 +01:00
rlar c46c832aee inpcom.c: rename expand_libs() --> expand_section_references() 2013-02-25 23:03:33 +01:00
rlar 12e39b3032 inpcom.c: rename function argument names 2013-02-25 23:03:32 +01:00
rlar ae4fa5047e inpcom.c: rename function argument names 2013-02-25 23:03:32 +01:00
rlar bf09f55f51 inpcom.c: cleanup 2013-02-25 23:03:32 +01:00
rlar 24a0bca9b9 inpcom.c: rename library_file[] --> library_name[] 2013-02-25 23:03:32 +01:00
rlar d1d3cdc7a5 inpcom.c: rename library_name[][] --> section_name[][] 2013-02-25 23:03:31 +01:00
rlar 377d7bcb41 inpcom.c: rename library_ll_ptr[][] --> section_ref[][] 2013-02-25 23:03:31 +01:00
rlar 87ad940aab inpcom.c: rename libraries[] -> library_deck[] 2013-02-25 23:03:31 +01:00
rlar 7c4255fc5c inpcom.c: rename num_lib_names --> num_sections 2013-02-25 23:03:31 +01:00
rlar 20cdd5b731 inpcom.c: rename new_lib_name() --> remember_section_ref() 2013-02-25 23:03:30 +01:00
rlar e4f329443d inpcom.c: rename find_lib_name() --> find_section() 2013-02-25 23:03:30 +01:00
rlar 562cd6eeb4 inpcom.c: static declaration of library related global variables 2013-02-25 23:03:26 +01:00
rlar aa573f79e8 inp_readall() change function signature for readability 2013-02-12 17:41:33 +01:00
rlar aeb850021b inpcom.c: abstract into new function read_a_lib() 2013-02-09 20:06:50 +01:00
rlar 2c2a7d010b inpcom.c: rewrite using new function find_lib() 2013-02-09 19:52:38 +01:00
rlar 97994080b4 inp_determine_libraries(): rewrite 2013-02-09 19:52:37 +01:00
rlar 131139f454 inp_determine_libraries(): can happen at most once 2013-02-09 19:52:35 +01:00
rlar 1d465b80c4 inpcom.c: small cleanup 2013-02-09 18:54:42 +01:00
rlar dd416baa1f inpcom.c: comment .lib semantic 2013-02-09 18:54:42 +01:00
rlar 6da439dffd inp_readall(): rename local variables 2013-02-09 18:54:42 +01:00
rlar 65f648d2cc inp_readall(): local scope for `tmp_ptr1' 2013-02-09 18:54:41 +01:00
rlar d7b99d83f6 inp_readall(): local scope for `fdo' 2013-02-09 18:54:41 +01:00
rlar f081cf8606 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
2013-01-26 14:40:29 +01:00
rlar 85e6a7563c fix find_lib_name(), introduced in previous commit 2013-01-13 19:52:37 +01:00
rlar 4b3c1df2b8 inpcom.c: rewrite for readability 2013-01-13 11:46:57 +01:00
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
2013-01-12 23:26:42 +01:00
h_vogt 20716d3496 inpcom.c: exit if 'poly' option is required, but XSPICE not available,
remove memory leak
2012-12-30 19:27:36 +01:00
rlar 83e3100917 remove unused variables 2012-12-01 16:05:20 +01:00
h_vogt 6a6c49516a inpcom.c: remove memory leak 2012-12-01 13:24:46 +01:00
h_vogt 9d52468471 inpcom.c: plug memory leaks 2012-11-27 23:56:00 +01:00
h_vogt d0f58dc5a6 inpcom.c: prevent invalid memory read/write 2012-11-25 18:27:42 +01:00
h_vogt 85244d0222 inpcom.c: remove bug in inp_add_series_resistor(),
prevent crash in inp_remove_ws() upon erroneous input
2012-11-04 14:15:37 +01:00
h_vogt a57361333a inpcom.c: add series resistor to each inductor with option rseries=1m 2012-10-29 23:13:20 +01:00
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
2012-10-25 18:54:09 +02:00
rlar a394d79c56 use utf-8 encoding 2012-10-20 21:27:15 +02:00
h_vogt 0853c374a1 inpcom.c: require parentheses in ternary functions if numparam
parser is involved (no B sources)
2012-10-17 22:28:49 +02:00
h_vogt ae25f54709 inpcom.c: plug small memory leak 2012-10-15 18:35:12 +02:00
rlar ebc50b8639 inpcom.c, rewrite 2012-10-13 16:48:15 +02:00
rlar a4e167a657 inpcom.c, use strchr() in favour of strstr() 2012-10-13 12:27:20 +02:00
rlar 3b2b130177 inpcom.c, inp_fix_ternary_operator_str(), use copy_substring() 2012-10-13 12:00:29 +02:00
rlar 680e45f7f3 inpcom.c, inp_fix_ternary_operator_str(), rewrite 2012-10-13 11:47:22 +02:00
rlar 9352a4b72d inpcom.c, get_instance_subckt(), more carefull when there is trailing whitespace 2012-10-13 11:31:37 +02:00
rlar f61f323be0 inpcom.c, get_instance_subckt(), rewrite 2012-10-13 11:31:37 +02:00
rlar 7f0065e7fb inpcom.c, make use of copy_substring() 2012-10-13 11:03:52 +02:00
rlar 69bf624097 inpcom.c, rewrite 2012-10-13 11:02:34 +02:00
rlar 3f4e2eed49 inpcom.c, bug fix in inp_get_subckt_name() 2012-10-13 10:45:09 +02:00
rlar 021a5dd871 inpcom.c, rewrite 2012-10-12 19:23:46 +02:00