I am trying to parse the attached files (they are part of a bigger project :
http://away3d.com/ ).
Although they seem correct, asDox is raising exceptions and thus not parsing
them.
For example, parsing file arcane.as
i receive:
Traceback (most recent call last):
File "asparser.py", line 21, in <module>
builder.addSource(srcFolder)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/asdox/asBuilder.py", line 43, in addSource
self.parseSource( open(source,"r").read() )
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/asdox/asBuilder.py", line 57, in parseSource
asGrammar.PROGRAM.parseString(src.decode("ascii","ignore"))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/pyparsing.py", line 1076, in parseString
raise exc
pyparsing.ParseException: Expected "class" (at char 33), (line:3, col:12)
I am using the svn version of asDox (revision 195), in MacOSX Leopard. I had
the same issues
using it on Debian Lenny, GNU/Linux
Thank you,
Alberto