Commit Graph

152 Commits

Author SHA1 Message Date
rlar 77d195dbac subckt.c, numnodes(), #3/3 cleanup 2016-11-05 20:32:57 +01:00
rlar 94d8ca2c41 subckt.c, numnodes(), #2/2 cleanup 2016-11-05 20:32:57 +01:00
rlar 4bd446096e subckt.c, numnodes(), cleanup 2016-11-05 20:32:57 +01:00
rlar fa63b66c81 rename gettok_nc() --> nexttok(), and functionalize it 2016-11-05 20:32:57 +01:00
h_vogt 862df7fadb subckt.c, xpressn.c, spicenum.c, add level information for .subckt entries nupa_scan is totally without level info. This preliminary fix at least lets us decide to issue a warning if subckt have equal names and are on the same level. Still nupa_scan only enters the first entry into its hash table, irrespective of its level. 2016-11-05 20:32:54 +01:00
h_vogt 4234226713 subckt.c, do not put model names into numparam hash table xpressn.c, re-enable error message to alert name redefinition 2016-11-05 20:27:43 +01:00
h_vogt c554f5786a subckt.c, introduce new function inp_deckcopy_oc()
copy a deck
  without li_actual,
  without comment lines
  without .control section
2016-11-05 20:26:32 +01:00
dwarning 24dbbc393d remove the ancient nobjthack option to fake 3-terminal bjt's 2016-11-01 11:56:48 +01:00
dwarning 1e880deff4 allow 5-terminal bjt's in subckt expansion 2016-11-01 11:56:48 +01:00
h_vogt 6a0a6071a0 gettok_nc(&line): like gettok(), move pointer beyond next token in line, but without returning a string, without TMALLOC. Replaces constructs like tfree(gettok(&line)). 2016-10-15 15:06:20 +02:00
h_vogt 33b11f9598 comments improved 2016-08-15 11:26:55 +02:00
rlar d298d5cc2f use memset() instead of deprecated bzero() 2016-07-30 20:58:33 +02:00
rlar 5e04924890 cleanup `skip_ws()' usage 2016-03-22 15:26:11 +01:00
rlar b1d8b99018 skip-ws, #6/6, rename to match inpcom.c 2016-03-22 15:26:10 +01:00
rlar 22875d056b skip-ws, #5/6, use functional style 2016-03-22 15:26:09 +01:00
rlar d12679fccd skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0'
use TEMPORARY_SKIP_WS_X1 instead of TEMPORARY_SKIP_WS_X0
2016-03-22 15:26:08 +01:00
rlar a86f2068c8 skip-ws, #3/6, use TEMPORARY macros, obj-invariant 2016-03-22 15:26:06 +01:00
rlar 6d1171ad6f skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
2016-03-22 15:26:05 +01:00
rlar 1ad65120d5 skip-ws, #1/6, prepare for rewrite, obj-invariant 2016-03-22 15:26:04 +01:00
rlar 4c1c95e20f everywhere, use `TMALLOC()' instead of `alloc()' 2016-03-21 21:22:07 +01:00
rlar 726d0be34c use char variants of the <ctype.h> toxxxx() family 2016-03-09 20:24:36 +01:00
rlar 71a7c3459b use char variants of the <ctype.h> isxxxx() family 2016-03-09 20:24:36 +01:00
rlar b663731379 rewrite model_bin_match(), rename --> model_name_match() 2014-08-09 18:17:34 +02:00
rlar 24a22f1398 subckt.c, treat "0" and "null" like any other global node 2014-07-26 20:23:26 +02:00
rlar b9ecd4d28e subckt.c, rewrite `collect_global_nodes()' 2014-07-25 21:19:52 +02:00
rlar d82b836136 subckt.c, inp_subcktexpand(), abstraction, new function `collect_global_nodes()' 2014-07-25 21:09:29 +02:00
rlar 833c8b972e subckt.c, rename global variables 2014-07-25 21:09:25 +02:00
rlar 6d18a1b40d subckt.c, inp_subcktexpand(), cleanup local variables 2014-07-25 21:09:21 +02:00
rlar 0568974b85 subckt.c, inp_subcktexpand(), cleanup `.meas' specific processing 2014-07-25 21:09:14 +02:00
rlar 5aa4bd4a1c subckt.c, bug fix, multiple .global decks shall behave "accumulative" 2014-07-23 20:34:40 +02:00
rlar ed53864a9e subckt.c, doit(), whitespace 2014-07-18 18:52:21 +02:00
rlar 3393d68818 subckt.c, doit(), cleanup, local variables 2014-07-18 18:52:20 +02:00
rlar 7d44aa9564 subckt.c, doit(), fix an ancient memory leak when use_numparams == FALSE 2014-07-18 18:52:19 +02:00
rlar f2abbf1528 subckt.c, doit(), cleanup 2014-07-18 18:52:18 +02:00
rlar 6b959952a3 subckt.c, doit(), rename `savenext' --> `rest_of_c' 2014-07-18 18:52:17 +02:00
rlar 05d239b748 subckt.c, doit(), rename `lcc' --> `su_deck' 2014-07-18 18:52:17 +02:00
rlar 822c5150d5 subckt.c, doit(), cleanup, use `c' instead of `lcc' 2014-07-18 18:52:16 +02:00
rlar 45648d4caa subckt.c, doit(), reorder 2014-07-18 18:52:15 +02:00
rlar 5944a2505a subckt.c, doit(), rename `lc' --> `prev_of_c' 2014-07-18 18:52:14 +02:00
rlar 73935377ff subckt.c, doit(), drop redundant assignment 2014-07-18 18:52:12 +02:00
rlar d6106cfbfc subckt.c, cleanup `doit()' 2014-07-16 20:42:57 +02:00
rlar 650352e3e8 subckt.c, cleanup `doit()' 2014-07-16 20:39:41 +02:00
rlar 8381877eee subckt.c, doit(), fix an ancient memory leak when use_numparams == FALSE 2014-07-16 20:35:39 +02:00
rlar 82039a1166 subckt.c, cleanup `doit()', polish 2014-07-16 20:27:52 +02:00
rlar 87c88f02c2 subckt.c, cleanup `doit()', rename some variables 2014-07-16 18:05:24 +02:00
rlar c9725d70eb subckt.c, cleanup `doit()', rename some variables 2014-07-16 17:59:11 +02:00
rlar 8ccaa5bdca subckt.c, cleanup `doit()', drop redundant test 2014-07-16 17:53:47 +02:00
rlar 86b6fb8c03 subckt.c, cleanup `doit()' 2014-07-15 21:44:57 +02:00
rlar 1e83c0772b subckt.c, cleanup `doit()' 2014-07-15 20:44:33 +02:00
rlar c105c320f8 subckt.c, cleanup `doit()' `modtranslate()' `devmodtranslate()' 2014-07-15 19:46:01 +02:00