rlar
0fb21eaf4a
subckt.c, translate(), #8/8 whitespace and comments
9 years ago
rlar
f19a6c6390
subckt.c, translate(), #7/8 cleanup
9 years ago
rlar
49947e0279
subckt.c, translate(), #6/8 cleanup
9 years ago
rlar
2a4c34c401
subckt.c, translate(), #5/8 trailing 's' is never used
9 years ago
rlar
7169ad4bfa
subckt.c, translate(), #4/8 don't append trailing whitespace
9 years ago
rlar
1f31f73295
subckt.c, translate(), #3/8 simplify
9 years ago
rlar
e40485b8a3
subckt.c, translate(), #2/8 cleanup
9 years ago
rlar
476c41f436
subckt.c, translate(), #1/8 cleanup
9 years ago
rlar
405c6f6f02
subckt.c, introduce translate_mod_name()
9 years ago
rlar
db213fd8d2
subckt.c, devmodtranslate(), dupplicate code from above
and drop a redundant piece
9 years ago
rlar
c653161666
subckt.c, introduce translate_inst_name()
to abstract the instance name translation during netlist flattening
9 years ago
rlar
a54a535dd5
subckt.c, introduce translate_node_name()
9 years ago
rlar
bab59844ff
subckt.c, emphasize instance_name translation
When translating an instance_name in a subcircuit instance 'xfoo'
undconditionally express the exception for 'x' instances, which is:
x42 --> xsub.x42
but for all others the first char (the devtype) is prepended
r42 --> r.xsub.r42
9 years ago
rlar
e3b3cc502a
subckt.c, translate(), emphasize instance_name translation
9 years ago
rlar
a03a57c9f9
subckt.c, emphasize token separator insertion
9 years ago
rlar
6b78ed4367
subckt.c, devmodtranslate(), rewrite using bxx_ facility
10 years ago
rlar
4d69002144
subckt.c, translate(), rewrite using bxx facility
9 years ago
rlar
13b6daae2f
subckt.c, translate(), cleanup while() loop
9 years ago
rlar
a5dd826d19
subckt.c, finishLine(), #9/9, unconditionally transform instance name in i() expressions
9 years ago
rlar
dc092c4ebc
subckt.c, finishLine(), #8/9, fuse two if's with the same conditional expr
9 years ago
rlar
99d788cd12
subckt.c, finishLine(), #7/9, drop condition which is always true
9 years ago
rlar
253cf5b75a
subckt.c, finishLine(), #6/9, drop condition which is always false
9 years ago
rlar
ff4805c023
subckt.c, finishLine(), #5/9, move/duplicate code behind if/else into the if/else
9 years ago
rlar
735e7700ce
subckt.c, finishline(), #4/9, reorder
9 years ago
rlar
8ab28df4ec
subckt.c, finishline(), #3/9, here *src === '('
9 years ago
rlar
5d3896c388
subckt.c, finishline(), #2/9, rewrite
9 years ago
rlar
0502e83fba
subckt.c, finishline(), #1/9, trivial cleanup
9 years ago
rlar
dc6e1cb064
use strchr() instead of strstr()
9 years ago
rlar
45ad60b738
rename gettok_nc() --> nexttok(), and functionalize it
9 years ago
rlar
f338dfe27e
subckt.c, undo a bogous hunk from commit "beautify code", Dec 16 2011
9 years ago
dwarning
24dbbc393d
remove the ancient nobjthack option to fake 3-terminal bjt's
10 years ago
dwarning
1e880deff4
allow 5-terminal bjt's in subckt expansion
10 years ago
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)).
10 years ago
h_vogt
33b11f9598
comments improved
10 years ago
rlar
d298d5cc2f
use memset() instead of deprecated bzero()
10 years ago
rlar
5e04924890
cleanup `skip_ws()' usage
10 years ago
rlar
b1d8b99018
skip-ws, #6/6, rename to match inpcom.c
10 years ago
rlar
22875d056b
skip-ws, #5/6, use functional style
10 years ago
rlar
d12679fccd
skip-ws, #4/6, drop `TEMPORARY_SKIP_WS_X0'
use TEMPORARY_SKIP_WS_X1 instead of TEMPORARY_SKIP_WS_X0
10 years ago
rlar
a86f2068c8
skip-ws, #3/6, use TEMPORARY macros, obj-invariant
10 years ago
rlar
6d1171ad6f
skip-ws, #2/6, introduce "ngspice/stringskip.h"
with some temporary macros to skip whitespace
10 years ago
rlar
1ad65120d5
skip-ws, #1/6, prepare for rewrite, obj-invariant
10 years ago
rlar
4c1c95e20f
everywhere, use `TMALLOC()' instead of `alloc()'
10 years ago
rlar
726d0be34c
use char variants of the <ctype.h> toxxxx() family
10 years ago
rlar
71a7c3459b
use char variants of the <ctype.h> isxxxx() family
10 years ago
rlar
b663731379
rewrite model_bin_match(), rename --> model_name_match()
12 years ago
rlar
24a22f1398
subckt.c, treat "0" and "null" like any other global node
12 years ago
rlar
b9ecd4d28e
subckt.c, rewrite `collect_global_nodes()'
12 years ago
rlar
d82b836136
subckt.c, inp_subcktexpand(), abstraction, new function `collect_global_nodes()'
12 years ago
rlar
833c8b972e
subckt.c, rename global variables
12 years ago