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:
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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user