Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

New code completion remarks/issues

<< < (19/54) > >>

ollydbg:

--- Quote from: blueshake on October 04, 2009, 07:27:19 am ---Ok, tiny fixed with ReadClsNames in parserthread.
for broken codes below:
--- Quote ---#include <iostream>

using namespace std;
typedef class qq
{
    int x;
    int y;

}xx
int main()
{
    cout << "Hello world!" << endl;
    return 0;
}

--- End quote ---



--- End quote ---

Note:This code can't be compiled in G++.

blueshake:
Exactly,but I refer to visual assist,its parser do what the patch do. :D

ollydbg:

--- Quote from: blueshake on October 04, 2009, 09:19:17 am ---Exactly,but I refer to visual assist,its parser do what the patch do. :D

--- End quote ---
I have applied your patch in my local copy, it works. :D. Thanks for your effort!

blueshake:
It seems
--- Code: ---Token* tdef = DoAddToken(tkTypedef, components.front(), lineNr, 0, 0, args);
--- End code ---
can not work for the test codes below.

--- Code: ---#include <iostream>
#include <iostream>
using namespace std;
std::vector<string> ssss;
#define  xxxxxxxxx 12e
typedef class qq
{
    int x;
    int y;
}eeee;
typedef unsigned int wwwwwwwww;
www|
int main()
{

    cout << "Hello world!" << endl;
    return 0;
}

--- End code ---

In the "|" position , the suggestion list flash and can not show.If I comment the statement
--- Code: ---typedef unsigned int wwwwwwwww;
--- End code ---
,it works again.

ollydbg:
@blueshake
That's something related in the nativeparser.cpp, and the code you cited. I will exam that. :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version