mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-03 10:58:30 +02:00
inpcom.c, inp_split_multi_param_lines(), bug fix, skip ',' when splitting .param lines
This commit is contained in:
@@ -4071,6 +4071,10 @@ inp_split_multi_param_lines(struct line *card, int line_num)
|
||||
get_paren_expression = FALSE;
|
||||
end_param++;
|
||||
}
|
||||
|
||||
if (end_param[-1] == ',')
|
||||
end_param--;
|
||||
|
||||
keep = *end_param;
|
||||
*end_param = '\0';
|
||||
new_line = tprintf(".param %s", beg_param);
|
||||
|
||||
Reference in New Issue
Block a user