LCD Wrote:Oh, Found a bug, I think:Next time better post the bugs in the Bug Reports folder in the forum.
That was without optimizer, in this code:Code:Traceback (most recent call last): File "D:\Restliche Programme\zxbasic\zxb.py", line 339, in <module> sys.exit(main()) # Exit File "D:\Restliche Programme\zxbasic\zxb.py", line 244, in main debug=(OPTIONS.Debug.value > 2)) File "D:\Restliche Programme\zxbasic\ply\yacc.py", line 328, in parse return self.parseopt(input, lexer, debug, tracking, tokenfunc) File "D:\Restliche Programme\zxbasic\ply\yacc.py", line 820, in parseopt p.callable(pslice) File "D:\Restliche Programme\zxbasic\zxbparser.py", line 2461, in p_addr_of_id entry.accessed = True File "D:\Restliche Programme\zxbasic\symbols\label.py", line 39, in accessed for entry in self.scope_owner: File "D:\Restliche Programme\zxbasic\symbols\label.py", line 44, in scope_owner return list(self._scope_owner) AttributeError: 'SymbolLABEL' object has no attribute '_scope_owner'
Code:dim tiles(16) as uinteger tiles(0)=@void ...
I think this one is fixed (the -O3 one still pending).
Can you download one of these beta-versions and test if it works, please?
http://boriel.com/files/zxb/zxbasic-1.8....-win32.zip
http://boriel.com/files/zxb/zxbasic-1.8.1-beta3.tar.gz
http://boriel.com/files/zxb/zxbasic-1.8.1-beta3.zip

