[Github-comments] [geany] Parse C/C++ tags wrapped in an extern "C" {...} block (#349)
Matthew Brush
notifications at xxxxx
Thu Dec 10 02:13:29 UTC 2015
I'm having this issue too, on Windows 10, types are not highlighted correctly inside `extern "C"` blocks (whether guarded or not). For example,
```c
#ifdef __cplusplus
extern "C" {
#endif
typedef struct SomeStruct SomeTypedef;
struct SomeStruct
{
int x;
};
#ifdef __cplusplus
}
#endif
```
Doesn't highlight the type name "SomeTypedef" in C, but it does for the "SomeStruct". If I switch the filetype to C++, neither type is highlighted.
It must be Windows-specific, I know this works fine Linux for sure.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/349#issuecomment-163464304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151209/65831be6/attachment.html>
More information about the Github-comments
mailing list