Can't parse slightly large file.
DelphiniumCoin opened this issue · 1 comments
I would like to try and program a tool written in delphi for splitting delphi file into multiple files, for example one class per file.
Castalia cannot parse a slightly large file properly.
The test case is available below:
Link to folder:
http://www.skybuck.org/Delphi/Tests/
Direct link to zip:
http://www.skybuck.org/Delphi/Tests/test%20split%20delphi%20units%20into%20multiple%20units%20one%20class%20per%20file.zip
To use:
Compile tool, start tool, clear rich edit boxes and set paths to test file which is uaccounts.pas
or use GUI to add this file.
Then click split.
Scroll down at tab 3... and click split again... the types which are found are marked in red... notice how some types are not parsed by castalia..
A bit weird... but this uaccounts.pas is from weird programmer :P :)
It's cool that you're using the parser. Since Castalia was acquired by Embarcadero a few years ago, I'm no longer actively working on this project. But since it's open source, you're welcome to fork, make changes, and even submit a pull request back. Have fun!