diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-15 21:15:10 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-01-15 21:15:10 +0100 |
| commit | e27a1593c8d819b275b4e6da284e0cd39f12b5ac (patch) | |
| tree | 5ea4ddfbdf3e675f2da1e7cfd19f3a90fa7bb607 /lib/xixanta/src/assembler.rs | |
| parent | 5ec4a376b67c94774acd839cf68ab4376ad908a2 (diff) | |
| download | tools.nes-e27a1593c8d819b275b4e6da284e0cd39f12b5ac.tar.gz tools.nes-e27a1593c8d819b275b4e6da284e0cd39f12b5ac.zip | |
Allow semicolons inside of strings
The parser was too naive and assumed that a semicolon immediately
implied an inline comment, and that might not just be the case as it is
with string literals.
Hence, the end of each semantic line has to consider not only whether
there is an inline comment, but also if a string literal is being used
and whether it surrounds or not the given semicolon.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/assembler.rs')
0 files changed, 0 insertions, 0 deletions
