FAQ  •  Register  •  Login

compiler error (*solved*)

<<

slenkar

Posts: 260

Joined: Sun Feb 13, 2011 3:33 am

Location: Kentucky US, used to be Birmingham UK

Post Mon Feb 21, 2011 12:00 am

compiler error (*solved*)

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'
<<

boriel

Site Admin

Posts: 1147

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon Feb 21, 2011 7:45 am

Re: compiler error

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).
<<

slenkar

Posts: 260

Joined: Sun Feb 13, 2011 3:33 am

Location: Kentucky US, used to be Birmingham UK

Post Mon Feb 21, 2011 3:51 pm

Re: compiler error

I was using the print command wrongly sorry,

im using the same version of the compiler,

using

print "l"

reproduces the error
<<

boriel

Site Admin

Posts: 1147

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon Feb 21, 2011 7:46 pm

Re: compiler error


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO