Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Some parser-related questions
junior07:
Excuse me, I don't understand what you mean.
When I comment out the references to typedef in the code I give above, the parser seems to behaves correctly. For example, it copes with a "typedef struct" correctly, allowing the use of the code completion whereas it was not possible with the typedef references uncommented.
Can you explain more ?
Thanks
thomas:
If you comment out the "typedef" code, then
--- Code: ---StructTypename::
--- End code ---
will probably display the code completion menu.
But if something like
--- Code: ---StructTypename a;
a.
--- End code ---
really works, then I should be very, very surprised, as there is no code that handles this (to my knowledge).
I may of course be wrong... did not write the parser in the first place :lol:
junior07:
You're right !
I realize this morning I was using the "original" name of the struct on which I was using typedef and not the new defined one. Am I understandable ? I think I'm a bit tired !
Well, I may take the time to study the internals of the code completion plugin to help to make it evolve.
Navigation
[0] Message Index
[*] Previous page
Go to full version