From 0b773150cc1b31141a88e973a8794a3675b51624 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sat, 11 May 2013 16:31:27 +0200 Subject: [PATCH] inpcom.c: some comments added --- src/frontend/inpcom.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 2375b07ce..c45f16f99 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -2601,7 +2601,9 @@ inp_fix_inst_line(char *inst_line, return curr_line; } - +/* If multiplier parameter 'm' is found on a X line, flag is set + to TRUE. + Function is called from inp_fix_inst_calls_for_numparam()*/ static bool found_mult_param(int num_params, char *param_names[]) { @@ -2615,7 +2617,13 @@ found_mult_param(int num_params, char *param_names[]) return found_mult; } +/* If a subcircuit invocation (X-line) is found, which contains the + multiplier parameter 'm', m is added to all lines inside + the corresponding subcircuit except of some excluded in the code below + (FIXME: It may be necessary to exclude more of them, at least + for all devices that are not supporting the 'm' parameter). + Function is called from inp_fix_inst_calls_for_numparam()*/ static int inp_fix_subckt_multiplier(struct line *subckt_card, int num_subckt_params, char *subckt_param_names[], char *subckt_param_values[])