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
rlar
ccfcc056ad
inpcom.c, bug fix, allow leading '_' in parameter identifiers
9 years ago
rlar
c6896cf338
accept .para shortcut for .param
9 years ago
h_vogt
cf9dbff890
inpcom.c, cleanup, use strchr()
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
2809ccaa13
shrink scope of expr_w_temper
9 years ago
rlar
872ceeedc7
inp_temper_compat(), return expr_w_temper
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
bd50814677
drop 'depreciated_skip..()'
10 years ago
rlar
45ad60b738
rename gettok_nc() --> nexttok(), and functionalize it
9 years ago
rlar
4778b48592
inpcom.c, inp_fix_inst_calls_for_numparam(), drop redundant condition `num_subckt_params == 0'
found_mult_param() can already cope with that
10 years ago
dwarning
6827495a75
correct the comment for 5-terminal bjt's in get_number_terminals
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
c198f878d3
inpcom.c, bug fix in inp_chk_for_multi_in_vcvs()
10 years ago
h_vogt
81e1e6fa32
inp.c, inpcom.c, treat files starting with '*ng_script' as command files
10 years ago
rlar
ebbcc2d982
frontend/inpcom.c, inp_expand_macro_in_str(), shrink scope of some locals
10 years ago
rlar
6ee2088e67
frontend/inpcom.c, expand_section_ref(), rename local variables
10 years ago
rlar
00e571dc00
frontend/inpcom.c, declare search_identifier() non static
10 years ago
h_vogt
33b11f9598
comments improved
10 years ago
h_vogt
da92a2483e
inpcom.c, inp_expand_macro_in_str(), remove a memory leak
10 years ago
h_vogt
1ef05dc51b
inpcom.c, free_function(), remove a memory leak
10 years ago
rlar
f3e61b838e
frontend/inpcom.c, use "stringskip.h"
10 years ago
rlar
deeb06b063
inpcom.c, inline and rename the `skip' family, depreciate some of them
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
7a51ead0a5
frontend/inpcom.c, char argument for `identifier_char()'
10 years ago
rlar
f826ff82f8
introduce `ATTRIBUTE_NORETURN' for `controlled_exit()' and `sp_shutdown()'
10 years ago
rlar
b447f26703
`E..table {expr} {pairs}', `G..', allow an optional `=' after `table'
11 years ago
rlar
7479e48f7a
`E..value=', `G..value=', allow `=' being optional
11 years ago
mhx
a324d86878
inpcom.c, allow `temper' to be recognised when preceded by '='
11 years ago
rlar
45bec4b8eb
inpcom.c, strip braces in `inp_get_func_from_line()'
11 years ago
rlar
2ac726b265
inpcom.c, rename `struct function' member `macro' --> `body'
11 years ago
rlar
2e023a6be7
inpcom.c, cleanup `inp_new_func()'
especially avoid local state in a function local static variable
11 years ago
rlar
56312b7872
inpcom.c, cleanup `inp_rem_func()'
11 years ago
rlar
db9eb23b7d
inpcom.c, bug fix, avoid segfault when `.ends' is missing
11 years ago
rlar
44425b1d0a
fix commit "inpcom.c, comment_out_unused_subckt_models() #4/8, introduce `nlist_find()'"
which broke the search for binned models
11 years ago
rlar
ab5cd17044
inpcom.c, workaround for "#307 define problems with the Modelname "mname" with Subcircuits"
a diode model named "1smb4148" could not be found
because it was dropped in `comment_out_unused_subckt_models()'
as a work around the function
is_a_modelname()
is extended to accept an additional pattern which does match "1smb4148"
Thanks to Martin who submitted the bug report here:
http://sourceforge.net/p/ngspice/bugs/307/
11 years ago
rlar
e4ba6eb602
inpcom.c, comment_out_unused_subckt_models() #8/8, drop `no_of_lines'
11 years ago
rlar
8379de8ddb
inpcom.c, comment_out_unused_subckt_models() #7/8, allocation
11 years ago
rlar
341ee45314
inpcom.c, comment_out_unused_subckt_models() #6/8, cleanup
11 years ago
rlar
e598da4706
inpcom.c, comment_out_unused_subckt_models() #5/8, introduce `nlist_adjoin()'
11 years ago
rlar
2e7b469cfe
inpcom.c, comment_out_unused_subckt_models() #4/8, introduce `nlist_find()'
11 years ago
rlar
d8807c00c4
inpcom.c, comment_out_unused_subckt_models() #3/8, drop ´tmp_cnt', `new_names[]'
11 years ago
rlar
5ec24f4ed0
inpcom.c, comment_out_unused_subckt_models() #2/8, cleanup
11 years ago
rlar
d2e138c592
inpcom.c, comment_out_unused_subckt_models() #1/8, use a struct to collect data
11 years ago
rlar
84a945ca45
inpcom.c, comment_out_unused_subckt_models(), reduce scope of local variables
11 years ago
rlar
a8d90775ca
inpcom.c, get_subckts_for_subckt(), reduce scope of local variables
11 years ago