mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-12 03:30:09 +00:00
Fix constant printing
This commit is contained in:
parent
4ec2fc2f62
commit
b15490c5bf
4
src/main/scala/millfork/env/Constant.scala
vendored
4
src/main/scala/millfork/env/Constant.scala
vendored
@ -475,6 +475,8 @@ case class CompoundConstant(operator: MathOperator.Value, lhs: Constant, rhs: Co
|
||||
case And => s"$plhs & $prhs"
|
||||
case Or => s"$plhs | $prhs"
|
||||
case Exor => s"$plhs ^ $prhs"
|
||||
case Divide => s"$plhs / $prhs"
|
||||
case Modulo => s"$plhs %% $prhs"
|
||||
}
|
||||
}
|
||||
|
||||
@ -498,6 +500,8 @@ case class CompoundConstant(operator: MathOperator.Value, lhs: Constant, rhs: Co
|
||||
case And => s"$plhis & $prhis"
|
||||
case Or => s"$plhis | $prhis"
|
||||
case Exor => s"$plhis ^ $prhis"
|
||||
case Divide => s"$plhs / $prhs"
|
||||
case Modulo => s"$plhs %% $prhs"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user