compiler error (*solved*) - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15) +---- Thread: compiler error (*solved*) (/showthread.php?tid=308) |
compiler error (*solved*) - slenkar - 02-21-2011 i tried a simple program: print "l" and here is the output Building file - wars.bas... DOS: C:\Boriel Tm\ZX Basic Compiler\zxb.exe -T -B -a wars.bas Traceback (most recent call last): File "zxb.py", line 310, in <module> File "zxb.py", line 244, in main File "zxbtrad.pyc", line 1285, in traverse File "zxbparser.pyc", line 823, in __get_type AttributeError: 'SymbolSENTENCE' object has no attribute '_type' Re: compiler error - boriel - 02-21-2011 slenkar Wrote:i tried a simple program:Hmm. This seems a reintroduced bug in the beta release. Which revision do you have? (type zxb --version to find out) Latest is 1.2.7-r2096 (uploaded just yesterday), and I can't reproduce this error (the compiler works ok). Re: compiler error - slenkar - 02-21-2011 I was using the print command wrongly sorry, im using the same version of the compiler, using print "l" reproduces the error Re: compiler error - boriel - 02-21-2011 Please, read here: <!-- l --><a class="postlink-local" href="http://www.boriel.com/forum/bug-reports/problems-with-z-option-t582.html#p1923">bug-reports/problems-with-z-option-t582.html#p1923</a><!-- l --> |