only treat B lines, .param lines have been processed already.
This is a very preliminary fix to a bug reported by Andy. Has to be tested with various input conditions.
This commit is contained in:
parent
9e663f45e4
commit
08a9d8462b
|
|
@ -2086,7 +2086,7 @@ limit(double nominal_val, double abs_variation)
|
||||||
* So we have to do the following in each B-line:
|
* So we have to do the following in each B-line:
|
||||||
* check for agauss(x,y,z), and replace it by a suitable return value
|
* check for agauss(x,y,z), and replace it by a suitable return value
|
||||||
* of agauss()
|
* of agauss()
|
||||||
* agauss may also occur in .param lines, which have to be treated as well
|
* agauss in .param lines has been treated already
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
@ -2114,7 +2114,7 @@ eval_agauss(struct card *deck, char *fcn)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((*curr_line != 'b') && !ciprefix(".para", curr_line))
|
if (*curr_line != 'b')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
while ((ap = search_identifier(curr_line, fcn, curr_line)) != NULL) {
|
while ((ap = search_identifier(curr_line, fcn, curr_line)) != NULL) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue