News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Please let CC to support the global namepace

Started by Loaden, January 06, 2010, 10:39:41 AM

Previous topic - Next topic

blueshake

please check out the nativeparser.cpp file. in about line 1656
        if (tok.Length() != 0 || tokenType == pttSearchText)

but in my above patch , it is
if (!tok.IsEmpty() || (tokenType == pttSearchText && components.size() != 0))


if you apply the patch I provided in this thread.http://forums.next.codeblocks.org/index.php/topic,12096.msg82256.html#msg82256

when you type "(" , you will get what I mean.
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

Loaden

Quote from: blueshake on May 01, 2010, 07:54:37 AM
please check out the nativeparser.cpp file. in about line 1656
        if (tok.Length() != 0 || tokenType == pttSearchText)

but in my above patch , it is
if (!tok.IsEmpty() || (tokenType == pttSearchText && components.size() != 0))


if you apply the patch I provided in this thread.http://forums.next.codeblocks.org/index.php/topic,12096.msg82256.html#msg82256

when you type "(" , you will get what I mean.

I apply the patch, and test it.
I can confirm this.