User forums > Nightly builds
The 28 May 2014 build (9781) is out.
stahta01:
--- Quote from: ToApolytoXaos on June 09, 2014, 04:13:15 pm ---
--- Quote from: ollydbg on June 09, 2014, 03:36:34 pm ---You mean:
http://www.dribin.org/dave/blog/archives/2010/05/15/c99_syntax/
--- Code: ---NSPoint point = { .x = 0, .y = 0};
--- End code ---
?
--- End quote ---
Yes, exactly.
--- Quote from: ollydbg on June 09, 2014, 03:36:34 pm ---1, we should know it is an initialization statement.
2, we are after the dot.
3, we are in a C file, but we have C99 option enabled.
The hardest part is 1. How do we locate that we are in an C stile initialization? Currently, CC only remember the "{}" pair for function bodies and class definition.
--- End quote ---
As far as I know, GCC currently has C99/C11 features added (enabled?) in C by default and currently waiting to incorporate C11 as their default flag.
Should not it work since point #3 is partially available by default?
--- End quote ---
Feel free to submit a patch for CB's CC (Code Completion) if you think it is so easy to do.
Tim S.
ToApolytoXaos:
--- Quote from: stahta01 on June 09, 2014, 04:22:25 pm ---Feel free to submit a patch for CB's CC (Code Completion) if you think it is so easy to do.
Tim S.
--- End quote ---
I can't see anywhere I mention such thing; I just asked. there's no need to be sarcastic.
ollydbg:
--- Quote from: ToApolytoXaos on June 09, 2014, 04:51:24 pm ---
--- Quote from: stahta01 on June 09, 2014, 04:22:25 pm ---Feel free to submit a patch for CB's CC (Code Completion) if you think it is so easy to do.
Tim S.
--- End quote ---
I can't see anywhere I mention such thing; I just asked. there's no need to be sarcastic.
--- End quote ---
Hi, ToApolytoXaos, I don't understand this sentence.
--- Quote ---Should not it work since point #3 is partially available by default?
--- End quote ---
, can you explain more?
Our CodeCompletion plugin has its own parser, the parser does not have the scale as a normal compiler's parser (parser in gcc or clang). I think it was not quite easy to add the feature you request, it is doable, but the developers(include me) are focus to fix other parts of CC which I think is more important. So, we welcome any contribute to CC. :)
ToApolytoXaos:
I was referring at the "if you think it is so easy to do" part. I did not ask for anything; all I needed was more info, academically-wise you could say, that's all.
As far as I know certain features like for example // single line comments are permitted as also the aforementioned structure example. I did not use any flags and was able to compile just fine.
What puzzled me was the suggestion list that would include only C++ keywords and not a single C word at all; that's why I have asked for more information. I did not come here to play the wise guy or to start an unnecessary argument.
Sometimes a literal translation from one language to another can lead to such misinterpretations and most of the time instead of investing time and efford to resolve issues and bugs, let alone share ideas, we waste it to argue who said what and why having as a result to kill the educating (sharing) spirit in favor of ego.
That's just sad I would say...a lot!
stahta01:
--- Quote from: ToApolytoXaos on June 10, 2014, 02:53:02 pm ---What puzzled me was the suggestion list that would include only C++ keywords and not a single C word at all; that's why I have asked for more information. I did not come here to play the wise guy or to start an unnecessary argument.
--- End quote ---
You came here to waste bandwidth on topics not valid in this sub forum!
If you wish to discuss or suggest new feature this thread and sub-forum is NOT the correct place!
This thread is for new bugs in this nighty build. And, other questions and info related to this nighty build.
It is NOT a general thread about using CB or request of new features!
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version