From 55dbdf35e8b2c62db4d5494b1a9d96e1b73e5c62 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 3 Sep 2016 11:41:46 +0200 Subject: [PATCH] do not reverse "options", just com_options, and note: "options" comes first, so com_options eventually overrides "options" --- src/frontend/inp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/inp.c b/src/frontend/inp.c index 582bafe70..37b0e7ca5 100644 --- a/src/frontend/inp.c +++ b/src/frontend/inp.c @@ -717,8 +717,7 @@ inp_spsource(FILE *fp, bool comfile, char *filename, bool intfile) options (comfile == FALSE, filled in from circuit with .OPTIONS) into options, thus keeping com_options, options is loaded into circuit and freed when circuit is removed */ - options = line_nconc(options, inp_deckcopy(com_options)); - options = line_reverse(options); + options = line_nconc(options, line_reverse(inp_deckcopy(com_options))); /* prepare parse trees from 'temper' expressions */ if (expr_w_temper)