From b88634206402814f63ba8db192e52d3e3bec2b38 Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Mon, 14 Jul 2014 21:05:54 -0400 Subject: Preserve the given cost for print Patch from John Wiegley --- src/textual.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index eea79de0..156e2b9c 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1578,6 +1578,8 @@ post_t * instance_t::parse_post(char * line, if (fixed_cost) post->add_flags(POST_COST_FIXATED); + post->given_cost = post->cost; + DEBUG("textual.parse", "line " << context.linenum << ": " << "Total cost is " << *post->cost); DEBUG("textual.parse", "line " << context.linenum << ": " -- cgit v1.2.3