Fold AN/OR lines
Bug #573912 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Freeport RPG |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In the calculation section, lines can combine condition tuples using AN/OR. As far as I can tell, the consecutive lines form a single instruction with a complex condition.
The parser knows how to deal with this, but we still need to complete folding of the conditions so we get a single Instruction out of the sequence of lines.
To post a comment you must log in.
The reason I thought this was needed was that the multi-line instruction might be at the start of a loop, so we'd have to jump back to the first line in the chain, not the one containing the actual opcode. But it turns out the semantics are such that this folding is not needed. The conditions are evaluated only on entering the loop, not during iteration.