mirror of
https://github.com/KarolS/millfork.git
synced 2025-04-10 01:36:59 +00:00
Better documentation for in-place modification operators
This commit is contained in:
parent
96850d295d
commit
c8ca48a6b0
@ -209,6 +209,8 @@ An expression of form `a[f()] += b` may call `f` an undefined number of times.
|
||||
`mutable unsigned byte /= unsigned byte` (zpreg)
|
||||
`mutable word /= unsigned byte` (zpreg)
|
||||
|
||||
There are no `||=`, `&&=` or `>>>>=` operators.
|
||||
|
||||
## Indexing
|
||||
|
||||
While Millfork does not consider indexing an operator, this is a place as good as any to discuss it.
|
||||
|
@ -416,6 +416,8 @@ object AbstractExpressionCompiler {
|
||||
case FunctionCallExpression("+=", _) => v
|
||||
case FunctionCallExpression("-=", _) => v
|
||||
case FunctionCallExpression("*=", _) => v
|
||||
case FunctionCallExpression("/=", _) => v
|
||||
case FunctionCallExpression("%%=", _) => v
|
||||
case FunctionCallExpression("+'=", _) => v
|
||||
case FunctionCallExpression("-'=", _) => v
|
||||
case FunctionCallExpression("*'=", _) => v
|
||||
|
Loading…
x
Reference in New Issue
Block a user