1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-28 23:58:08 +11:00
collapseos/tools
Virgil Dupras c40bc329d5 zasm: fix expr returning wrong values on first pass
To run a parseExpr on first pass would always return a false success
with dummy value because symbols are configured to always succeed on
first pass. This would make expressions like ".fill 0x38-$" so bad
things to labels because "0x38-$" wouldn't return the same thing on
first and second pass.

Revert to parsing literals and symbols after having scanned for
expressions and add a special case specifically for char literals (which
is why we scanned for literals and symbols first in the first place).
2019-05-20 10:46:27 -04:00
..
cfspack cfspack: fix bug where we would underallocate blocks 2019-05-16 21:07:57 -04:00
emul zasm: fix expr returning wrong values on first pass 2019-05-20 10:46:27 -04:00
tests zasm: add support for "$" symbol 2019-05-20 09:17:50 -04:00
upload.py tools/upload: make I/O a bit slower 2019-05-07 14:49:34 -04:00