Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => CodeCompletion redesign => Topic started by: ollydbg on September 20, 2014, 04:27:22 pm

Title: ParserBase class refactoring, better sharing code between CC and CCTest projects
Post by: ollydbg on September 20, 2014, 04:27:22 pm
I try to remove the parserdummy.cpp, and create parser_base.h/cpp files, those files can be shared between codecompletion plugin and cctest project. I attach the patch file for both SVN and GIT. (SVN style patch was created by this command under msysgit: git-svn-diff (http://forums.codeblocks.org/index.php/topic,19391.msg132530.html#msg132530)

Now, cctest can use ParserBase NativeParserBase classes, CC can use Parser(derived from ParserBase) and NativeParser(derived from NativeParserBase) classes.

This patch only contains patches for windows cbp files against wx28. I'm not familiar with the Linux build system, also I don't know a quick way to synchronize other cbp files (such as cbp files against wx30, or 64bit Windows cbp files)

Leave here for your testing for days, If no objections, I will commit. BTW: I still need some devs' help to fix other cbp or system's build files if the patch is in trunk.  ;) Thanks.



[attachment deleted by admin]
Title: Re: ParserBase class refactoring, better sharing code between CC and CCTest projects
Post by: ollydbg on September 28, 2014, 04:50:23 pm
In trunk now. I hope some devs can fix other build system, thanks!