Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
As BorIDE progresses...
LCD Wrote:Oh, Found a bug, I think:
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'
That was without optimizer, in this code:
Code:
dim tiles(16) as uinteger
tiles(0)=@void
...
Next time better post the bugs in the Bug Reports folder in the forum.
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?  Rolleyes

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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 14 Guest(s)