mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-27 22:55:16 +01:00
The editor wrote a memory cell comparison as memcompareex <text> <op> <value1> <op> <value2> <op>, without the pass word and with each value before its operator. The parser and the sceneries use memcompareex <pass> <op> <text> <op> <value1> <op> <value2>. A saved scenery read its conditions shifted by one token, and the last value took the next word of the event. The writer now puts out the pass and the operator before each value. The >= operator was written as >; it is written as >= now. The text side of the conditions moves unchanged to the core file world/eventconditions.cpp, so a unit test can check that what is written reads back the same.
85 KiB
85 KiB