about summary refs log tree commit diff stats
path: root/052tangle.cc
diff options
context:
space:
mode:
Diffstat (limited to '052tangle.cc')
-rw-r--r--052tangle.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/052tangle.cc b/052tangle.cc
index 39e9856d..f53e8736 100644
--- a/052tangle.cc
+++ b/052tangle.cc
@@ -148,8 +148,7 @@ void append_fragment(vector<instruction>& base, const vector<instruction>& patch
     }
     for (int j = 0;  j < SIZE(inst.ingredients);  ++j) {
       reagent& x = inst.ingredients.at(j);
-      if (!is_literal(x)) continue;
-      if (x.type->name == "label" && contains_key(jump_targets, x.name))
+      if (is_jump_target(x.name) && contains_key(jump_targets, x.name))
         x.name = prefix+x.name;
     }
     base.push_back(inst);