开发者

Netbeans 7 and C/C++ blocks

Apple's non-standard language extension, "blocks" (like closures) isn't supported by the parser in Netbeans 7.

I'm a bit unsure as to why this is, since I thought the parser just relie开发者_StackOverflowd on the compiler.

Is it possible to get Netbeans to recognize the block syntax in any way?

Xcode 4:

Netbeans 7 and C/C++ blocks

Netbeans 7:

Netbeans 7 and C/C++ blocks


Most syntax highlighters do not depend on the compiler in that they do not use compiler outputs. In the general case, most have some type of logic or rule that does the syntax highlighting at runtime.
Otherwise you would have to wait to compile the program to have highlighting.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜