1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-04-03 23:31:52 +00:00

Fixed Variable.nomodify

This commit is contained in:
jespergravgaard 2019-12-22 23:12:14 +01:00
parent 3abd8bed01
commit 7e4d4ad4ff

@ -52,7 +52,7 @@ public class VariableBuilder {
*/
public Variable build() {
Variable variable = new Variable(varName, getKind(), type, scope, getMemoryArea(), dataSegment, arraySpec, null);
variable.setNoModify(this.isConstant());
variable.setNoModify(this.isNoModify());
variable.setVolatile(this.isVolatile());
variable.setExport(this.isExport());
variable.setOptimize(this.isOptimize());