![]() |
|
Comments inside ASM blocks (*solved*) - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://forum.boriel.com/forumdisplay.php?fid=15) +---- Thread: Comments inside ASM blocks (*solved*) (/showthread.php?tid=566) |
Comments inside ASM blocks (*solved*) - einar - 2013-08-20 Trying to compile the sub-routine below... Code: sub test()...produces this error message: Quote:C:\...\zxbasic-1.3.0s1022\dist>zxb test.bas However the following sub-routine compiles just fine: Code: sub test()This other sub-routine also compiles just fine: Code: sub test()ZX BASIC parser is obviously misunderstanding those two apostrophes in the first case. Re: Comments inside ASM blocks - boriel - 2013-11-23 einar Wrote:Trying to compile the sub-routine below...This is, again, another corner case for the ZXBASIC preprocessor when entering an ASM context. A' is also a register (hence the confusion). Let me check it... Re: Comments inside ASM blocks - boriel - 2013-11-23 I think I finally fixed it. Please, download the Latest version and check if it works ok now. :| |