rlar
c3e2c920ef
inpcom.c, inp_fix_subckt(), #3/4, drop 'last_param_card'
9 years ago
rlar
2aafc50608
inpcom.c, inp_fix_subckt(), #2/4, use insert_new_line()
9 years ago
rlar
dda35ef2a5
inpcom.c, inp_fix_subckt(), #1/4, rewrite 'append'
9 years ago
rlar
e75f48d91f
inpcom.c, insert_new_line(), allow NULL head
9 years ago
rlar
5ff5839296
inpcom.c, inp_stitch_continuation_lines(), rewrite for the following commit
9 years ago
rlar
420c023f56
inpcom.c, introduce insert_new_line()
use it to replace this pattern
foo = bar->li_next = xx_new_line(bar->li_next, ...);
with
foo = insert_newline(bar, ...);
9 years ago
rlar
38183b6167
inpcom.c, expand_section_ref(), #7/7, cleanup
9 years ago
rlar
dd155dd83e
inpcom.c, expand_section_ref(), #6/7, drop 'rest'
9 years ago
rlar
0f8fb4cf51
inpcom.c, expand_section_ref(), #5/7, drop 'newl'
9 years ago
rlar
a77db80a85
inpcom.c, expand_section_ref(), #4/7, drop 'cend', use 'c' instead
9 years ago
rlar
0c94a651ee
inpcom.c, expand_section_ref(), #3/7, simplify
9 years ago
rlar
26d878748d
inpcom.c, expand_section_ref(), #2/7, t == section_def ==> cend == c
9 years ago
rlar
7f2cf192b6
inpcom.c, expand_section_ref(), #1/7, cend != NULL === t != section_def
9 years ago
rlar
a51c1aba2c
inpcom.c, inp_read(), #2/2, rewrite xx_new_line() insertion
using the fact
end->li_next === NULL
9 years ago
rlar
5c3dac41d9
inpcom.c, inp_read(), #1/2, rewrite 'append' to 'end'
9 years ago
rlar
ed39305da0
inpcom.c, inp_add_series_resistor(), simplify xx_new_line() insertion
9 years ago
rlar
9eddd1d80f
inpcom.c, inp_add_control_section(), #2/2, rewrite xx_new_line() insertion
9 years ago
rlar
4ad53f0de8
inpcom.c, inp_add_control_section(), #1/2, emphasise two assertions
9 years ago
rlar
4ff9c0c166
inpcom.c, inp_chk_for_multi_in_vcvs(), #6/6, drop 'model_card'
9 years ago
rlar
d773b73f76
inpcom.c, inp_chk_for_multi_in_vcvs(), #5/6, drop 'next_card', deploy its value temporarily in the new line's li_next slot
9 years ago
rlar
3b55d2af40
inpcom.c, inp_chk_for_multi_in_vcvs(), #4/6, drop 'a_card', reuse the unused 'c' instead
9 years ago
rlar
634b012492
inpcom.c, inp_chk_for_multi_in_vcvs(), #3/6, xx_new_line() shall fill the li_next slot
9 years ago
rlar
e9e9e5d55e
inpcom.c, inp_chk_for_multi_in_vcvs(), #2/6, move code downwards
9 years ago
rlar
c83b0544de
inpcom.c, inp_chk_for_multi_in_vcvs(), #1/6, skip lines
9 years ago
rlar
e81560de1a
inpcom.c, drop the local 'new_line' variable
9 years ago
rlar
b21b4170b2
inpcom.c, simplify the insertion of new lines/decks quite a bit
9 years ago
rlar
2972953336
inpcom.c, reorder initialisation
initialise param_beg and param_end before they will be used,
instead of "afterwards" in preparation for the next following usage.
and move the "comment out" up some lines, think that way:
comment out original line, append new line, ...
9 years ago
h_vogt
5d82d1b04a
misccoms.c, com_quit(), don't free memory, unless shared ngspice
Traversing all linked memory structures to free their memory
can be a somewhat lengthy business, especially in xspice,
which is not worth the effort when we simply want to exit()
Long delays have been reported in certain cases.
For developers and for the usage of such tools as valgrind,
we still free all the memory if 'set ngdebug' is given.
9 years ago
h_vogt
c82ee9d949
introduce option "epsmin"
To define a minimum argument for some log() function invocations.
(most notably for the diode saturation current 'is')
9 years ago
h_vogt
306ada7dd0
inpcom.c, get_model_type(), use gettok_noparens() to extract model type
Takes care of model descriptions in parentheses like
d(...)
10 years ago
h_vogt
1ffb957e6c
inpcom.c, inp_fix_subckt_multiplier(), cleanup, using strchr()
9 years ago
h_vogt
0bf381e01d
cpitf.c, for Windows, introduce csh variable "win_console"
to reflect whether this .exe is a "console" build
9 years ago
h_vogt
670880086f
cpitf.c, MS Visual Studio, introduce csh variable "pg_config"
reflecting .exe compilation for
32/64 bit
with/without NGDEBUG
10 years ago
h_vogt
d7a1899210
runcoms.c, rawfile.c, include filename in the 'ASCII/binary raw file' printout
9 years ago
rlar
46ab21dca9
inpcom.c, is_a_modelname(), don't accept "1E2"
9 years ago
h_vogt
847a09fd37
inpcom.c, get_number_terminals(), ignore "save" and "print" when CIDER
10 years ago
h_vogt
e5d70d0821
gnuplot.c, bug fix, allow gnuplot with MINGW
9 years ago
rlar
ccfcc056ad
inpcom.c, bug fix, allow leading '_' in parameter identifiers
9 years ago
rlar
c6896cf338
accept .para shortcut for .param
9 years ago
rlar
1e6b809af8
introduce command "check_ifparm" to check consistency of the device IFparm sets
For developing purpose only, and bound to HAVE_TSEARCH, HAVE_TDESTROY
IFparm descriptors must obey certain contracts,
1) aliases must be grouped together with their associated main descriptor,
and all must have flag IF_REDUNDANT set
2) there shall be no duplicated .id fields except for aliases.
3) aliased entries shall have consistent .dataType fields
check_ifparm will traverse all IFparm sets and report violations
9 years ago
h_vogt
cf9dbff890
inpcom.c, cleanup, use strchr()
9 years ago
rlar
2df8f433f8
inp.c, inp_parse_temper(), rewrite, using search_idenifier and find_assignment
try to make it more robust with regard to
'!=' '<=' '==' don't misinterpret as '='
"atemperaticvariable" don't misinterpret as 'temper'
multiple temper in one expression
9 years ago
rlar
511389ad10
inpcom.c, introduce find_back_assignment()
9 years ago
rlar
5238f0b1cb
inpcom.c, find_assignment(), const'ify and declare extern
9 years ago
rlar
4c44027cd2
inp.c, inp_parse_temper(), cleanup
9 years ago
rlar
2809ccaa13
shrink scope of expr_w_temper
9 years ago
rlar
872ceeedc7
inp_temper_compat(), return expr_w_temper
9 years ago
rlar
2c35eebb0b
invoke in_parse_temper_trees() and inp_evaluate_temper() unconditionally
9 years ago
rlar
e35429a222
inpcom.c, introduce rem_tlist()
9 years ago
rlar
c600312d01
deploy devtlist/modtlist in struct circ
9 years ago