1
0
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:
Karol Stasiak 2019-06-12 09:54:54 +02:00
parent 4ec2fc2f62
commit b15490c5bf

View File

@ -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"
}
}