Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weird problem with strings / arrays (*solved*)
#8
boriel Wrote:You were right. It was an upload from an old repo. Please, try now??
Hi - I have also been travelling (just spent 2 weeks in the USA!), so sorry for the delay replying.

I have downloaded it again, and is now reporting the version as:

zxb.py 1.4.0alpha-s1769

not zxb.py 1.4.0-s1869 as it should be! Was this alpha version uploaded in error?

Also, when I try to compile with this version, it gives an error:
Code:
Traceback (most recent call last):
  File "../1.4.0/zxb.py", line 348, in <module>
    sys.exit(main(sys.argv))  # Exit
  File "../1.4.0/zxb.py", line 274, in main
    translator.visit(zxbparser.ast)
  File "/Users/MacMini/Dropbox/Boriel/1.4.0/ast_/ast.py", line 102, in visit
    stack.append(last.send(last_result))
  File "/Users/MacMini/Dropbox/Boriel/1.4.0/arch/zx48k/translator.py", line 538, in visit_ARRAYACCESS
    self.emit('param' + self.TSUFFIX(gl.BOUND_TYPE), node.entry.bounds.count)
AttributeError: 'SymbolBOUNDLIST' object has no attribute 'count'
The same code compiles fine with earlier versions.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)