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
rlar
e2dabb2e75
inpcom.c, introduce `is_a_modelname()' to encapsulate highly dubious code
11 years ago
rlar
a820d11451
inpcom.c, inp_remove_ws(), allow netsted braces `{}'
11 years ago
rlar
9ee7888033
inpcom.c, inp_remove_ws(), copy() only when necessary
11 years ago
rlar
3fd1f56a10
inpcom.c, inp_remove_ws(), fix processing after skipped whitespace
11 years ago
rlar
d623763e58
inpcom.c, cleanup inp_remove_ws(), reorder loop, reveal obscure behaviour
11 years ago
rlar
bd055c1a98
inpcom.c, cleanup inp_remove_ws(), #4/4, minor
11 years ago
rlar
e25620f117
inpcom.c, cleanup inp_remove_ws(), #3/4, common code in if-then-else
11 years ago
rlar
d1260f4e4d
inpcom.c, cleanup inp_remove_ws(), #2/4, dup some code down into if-then-else
11 years ago
rlar
91658bc856
inpcom.c, cleanup inp_remove_ws(), #1/4, thats inevitably true
11 years ago
rlar
82a5c1c48a
inpcom.c, inp_remove_ws(), avoid appending a surplus '\0'
11 years ago
rlar
07ba16192e
inpcom.c, cleanup inp_remove_ws(), #5/5, introduce `d' instead of `big_buffer_index'
11 years ago
rlar
f1fcc943f9
inpcom.c, cleanup inp_remove_ws(), #4/5, minor
11 years ago
rlar
e290e55f31
inpcom.c, cleanup inp_remove_ws(), #3/5, drop `curr', use `s' instead
11 years ago
rlar
0081ec9b51
inpcom.c, cleanup inp_remove_ws(), #2/5, highlight `s' beeing almost unused
11 years ago
rlar
179d55547c
inpcom.c, cleanup inp_remove_ws(), #1/5, highlight `s' beeing const
11 years ago
rlar
9b1f248c52
inpcom.c, inp_remove_ws(), #7/7, invert 'if' expression
11 years ago
rlar
d2371be535
inpcom.c, inp_remove_ws(), #6/7, reorder condition, highlight similiarity
11 years ago
rlar
cf6582ea8c
inpcom.c, inp_remove_ws(), #5/7, simplify condition
11 years ago
rlar
2c200ae453
inpcom.c, inp_remove_ws(), #4/7, simplify condition
11 years ago
rlar
0e74b5be15
inpcom.c, inp_remove_ws(), #3/7, combine `if' expressions
11 years ago
rlar
70c9350359
inpcom.c, inp_remove_ws(), #2/7, combine `if' expressions
11 years ago
rlar
51914a4088
inpcom.c, inp_remove_ws(), #1/7, split if-then-else
11 years ago
rlar
718c85a545
inpcom.c, inp_remove_ws(), don't insert whitespace at end of line
11 years ago
rlar
ed73bf393e
inpcom.c, `inp_quote_params()', fixme, express doubts
11 years ago
rlar
8adb888300
inpcom.c, cleanup `inp_quote_params()', local scope for some variables
11 years ago