05-22-2016, 10:06 PM
I've had partial success extracting the DoxyComments, even without actually editing the ToLua++ parser at all. Thanks to Lua's being so flexible, and the parser having enough hooks, it's actually possible to inject the DoxyComments properly.
The only problem I'm facing right now is with the following C++ code format:
Here's an updated example of the extracted cWorld documentation:
https://gist.github.com/madmaxoft/3e2cc1...060f54e6fa
The only problem I'm facing right now is with the following C++ code format:
/** DoxyComment */ void Function(void); // tolua_exportThe ToLua++ parser strips away the lines not marked for export before even starting the parser, so the DoxyComment line is lost before it could be processed.
Here's an updated example of the extracted cWorld documentation:
https://gist.github.com/madmaxoft/3e2cc1...060f54e6fa