Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => CodeCompletion redesign => Topic started by: ollydbg on December 09, 2009, 08:16:18 am

Title: CC comments improvement
Post by: ollydbg on December 09, 2009, 08:16:18 am
This is a patch for parserthread.h

Hope more patches will be added.  :D

For a reminder, this is a successor post of Re: New code completion remarks/issues (http://forums.codeblocks.org/index.php/topic,11187.msg78967.html#msg78967)

BTW: I personal suggest the thread New code completion remarks/issues (http://forums.codeblocks.org/index.php/topic,11187.0.html) should be moved to CodeCompletion redesign (http://forums.codeblocks.org/index.php/board,18.0.html) .




[attachment deleted by admin]
Title: Re: CC comments improvement
Post by: ollydbg on December 09, 2009, 08:22:29 am
Also, patch using TRACE macro and wx_str() function for parserthread.cpp


[attachment deleted by admin]
Title: Re: CC comments improvement
Post by: MortenMacFly on December 09, 2009, 09:14:51 am
BTW: I personal suggest the thread New code completion remarks/issues (http://forums.codeblocks.org/index.php/topic,11187.0.html) should be moved to CodeCompletion redesign (http://forums.codeblocks.org/index.php/board,18.0.html) .
Done. :-)
Title: Re: CC comments improvement
Post by: ollydbg on December 17, 2009, 03:01:53 pm
Here is the patch on parserthread.h, it adds some comments, and fixes a lot of typos. :D

[attachment deleted by admin]
Title: Re: CC comments improvement
Post by: ollydbg on May 09, 2010, 05:43:51 am
Hi Morten and all ,
this is a comment improvement on the Tokenizer.h file.

see the attachment below:

But I found a compiler error of Loaden's GCC 4.4.4

Code
-------------- Build: Code-completion in Code::Blocks ---------------

[  6.3%] mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE  -DBUILDING_PLUGIN    -IC:\wxWidgets-2.8.10\include -IC:\wxWidgets-2.8.10\contrib\include -IC:\wxWidgets-2.8.10\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude  -c C:\zyh\from_lab\cb_svn\src\plugins\codecompletion\ccdebuginfo.cpp -o .objs\plugins\codecompletion\ccdebuginfo.o
internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:167: MapViewOfFileEx: Attempt to access invalid address.
Process terminated with status 1 (0 minutes, 3 seconds)
1 errors, 0 warnings

I don't know why..... I just only add some comments on this header file.



[attachment deleted by admin]