rlar
2a50316304
inp_parse_temper(), add modtlist_p/devtlist_p arguments
9 years ago
rlar
f78d8e21f0
inp_parse_temper_trees(), add struct circ argument
9 years ago
rlar
f2f2b3b09a
inp_evaluate_temper(), add struct circ argument
9 years ago
rlar
fa13e422cd
inpcom.c, bug fix, always reset expr_w_temper
9 years ago
rlar
5513d8bdf3
inpcom.c, bug fix, expr_w_temper missing reset
9 years ago
rlar
c920946c73
inp.c, bug fix, need to reset modtlist/devtlist unconditionally
9 years ago
rlar
12de713ff5
inp.c, bug fix, commit "allow 'temper' keyword in .param, .model and device instance lines ..."
don't overwrite struct pt_temper.expression,
to allow free'ing this string.
9 years ago
rlar
ab409ad62e
protect vec_free() and free_pnode() macro for use in non braced blocks
if ()
vec_free()
9 years ago
rlar
2142cfdcce
subckt.c, cleanup
9 years ago
rlar
9b01dbae95
subckt.c, numnodes(), #4/4, drop 'buf'
9 years ago
rlar
66b8b3de54
subckt.c, numnodes(), #3/4, rename argument 'name' --> 'line'
10 years ago
rlar
7b6070e6b9
subckt.c, numnodes(), #2/4, cleanup
10 years ago
rlar
b18c06c441
subckt.c, numnodes(), #1/4, cleanup
10 years ago
rlar
33788f7052
remove excessive inp_evaluate_temper() prototypes
10 years ago
rlar
0fb21eaf4a
subckt.c, translate(), #8/8 whitespace and comments
10 years ago
rlar
f19a6c6390
subckt.c, translate(), #7/8 cleanup
10 years ago
rlar
49947e0279
subckt.c, translate(), #6/8 cleanup
10 years ago
rlar
2a4c34c401
subckt.c, translate(), #5/8 trailing 's' is never used
10 years ago
rlar
7169ad4bfa
subckt.c, translate(), #4/8 don't append trailing whitespace
10 years ago
rlar
1f31f73295
subckt.c, translate(), #3/8 simplify
10 years ago
rlar
e40485b8a3
subckt.c, translate(), #2/8 cleanup
10 years ago
rlar
476c41f436
subckt.c, translate(), #1/8 cleanup
10 years ago
rlar
405c6f6f02
subckt.c, introduce translate_mod_name()
10 years ago
rlar
db213fd8d2
subckt.c, devmodtranslate(), dupplicate code from above
and drop a redundant piece
10 years ago
rlar
c653161666
subckt.c, introduce translate_inst_name()
to abstract the instance name translation during netlist flattening
10 years ago
rlar
a54a535dd5
subckt.c, introduce translate_node_name()
10 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
10 years ago
rlar
e3b3cc502a
subckt.c, translate(), emphasize instance_name translation
10 years ago
rlar
a03a57c9f9
subckt.c, emphasize token separator insertion
10 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
10 years ago
rlar
a5dd826d19
subckt.c, finishLine(), #9/9, unconditionally transform instance name in i() expressions
10 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
10 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
10 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
10 years ago
rlar
dc6e1cb064
use strchr() instead of strstr()
10 years ago
rlar
bd50814677
drop 'depreciated_skip..()'
10 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
10 years ago
h_vogt
4eb32ab566
com_sysinfo.c, add recent Windows versions to info printout
9 years ago
h_vogt
7c06cb2d12
don't mess with WINVER
not necessairy for current Windows versions
9 years ago
h_vogt
31dca54eba
input.c, don't use read() in __MINGW32__
9 years ago
rlar
d9e7ab2759
input.c, simplify #ifdef for the broken visual studio _read()
If we have _MSC_VER so we have either CONSOLE HAS_WINGUI or SHARED_MODULE
If we have SHARED_MODULE, then we most certainly don't need
the unbuffered read(), which isn't unbuffered on _MSC_VER anyway.
Thus _MSC_VER is sufficient.
9 years ago
rlar
1475df2aa4
input.c, try to work around microsofts broken _read()
concerning the visual sudio variant of the "console" build.
Their _read() returns 0 when a linfeed is read.
Ironically the linefeed seems to be stored into the buffer nontheless.
Because the filehandle is in linebuffered mode anyway,
(the read won't return up until the terminating newline is entered)
we can just as well use getc(), which doesn't seem to suffer
from the same problem in their implementation.
9 years ago