mirror of
https://github.com/transistorfet/moa.git
synced 2024-09-27 16:57:32 +00:00
62a484d317
Previously it was going line by line, but that makes it hard to properly parse multiline comments, so I modified it to include line terminators in the token stream. I also added parsing of /* */ and | \n comment types. There is still a problem with line numbers in the post-parsing phases, but they seem correct in the parser/lexer stage. It's still not able to parse the syscall.s file from Computie but it's mostly just issues with named constants preceeded by a "#" or "-" character. As for the encoding stage, it has a problem with a move instruction that uses a label. |
||
---|---|---|
.. | ||
m68kas.rs |