diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-09 22:29:14 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-09 22:29:14 +0100 |
| commit | ec0831e82851862a6af2ade12a996634d5dfc64e (patch) | |
| tree | 48c2a5087ea3d99e9d73c245ac098b6bb1b30db5 /tests | |
| parent | e2c322ab3adb85976c15c7668128cf10f699f563 (diff) | |
| download | tools.nes-ec0831e82851862a6af2ade12a996634d5dfc64e.tar.gz tools.nes-ec0831e82851862a6af2ade12a996634d5dfc64e.zip | |
Prevent assignments on relative references
It is a really weird thing to do, but on a twisted way I can see how
someone could think of such a monstrosity. Panicking on such a case is
not valid because that's not the fault from the assembler but from the
programmer, and so a proper message should be displayed instead.
This was detected via the fuzzer, but it was a side effect from
e7c5e63d04f6 ("Evaluate bare numbers as decimal values").
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
