diff --git a/src/main/java/dk/camelot64/kickc/model/symbols/Procedure.java b/src/main/java/dk/camelot64/kickc/model/symbols/Procedure.java index 805daac86..e3eac7744 100644 --- a/src/main/java/dk/camelot64/kickc/model/symbols/Procedure.java +++ b/src/main/java/dk/camelot64/kickc/model/symbols/Procedure.java @@ -137,7 +137,7 @@ public class Procedure extends Scope { } public void setCodeSegment(String codeSegment) { - this.codeSegment = codeSegment; + this.segmentCode = segmentCode; } public List getParameterNames() {