Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiler error (*solved*)
#1
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'
Reply
#2
slenkar Wrote: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'
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).
Reply
#3
I was using the print command wrongly sorry,

im using the same version of the compiler,

using

print "l"

reproduces the error
Reply
#4
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 -->
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)