This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | recognize gcc alternate keywords like __inline__, __asm__ | ||
---|---|---|---|
Product: | cnd | Reporter: | sopko |
Component: | Accessibility | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
sopko
2011-03-17 17:09:09 UTC
it's strange if __asm__ doesn't work in your case. to make __inline__ work in your current version you can go to C/C++ options and in Code Assistance add extra macro definitions: __inline__ inline Integrated into 'main-golden', will be available in build *201103180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/4bf11ba3b928 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #196817 - recognize gcc alternate keywords like __inline__, __asm__ (In reply to comment #1) > it's strange if __asm__ doesn't work in your case. > to make __inline__ work in your current version you can go to C/C++ options and > in Code Assistance add extra macro definitions: > __inline__ inline yes, only had the issue with __inline__, but wanted to note that there are more alternative keywords. Thanks for the fast fix, works fine. (In reply to comment #4) > (In reply to comment #1) > > it's strange if __asm__ doesn't work in your case. > > to make __inline__ work in your current version you can go to C/C++ options and > > in Code Assistance add extra macro definitions: > > __inline__ inline > > yes, only had the issue with __inline__, but wanted to note that there are more > alternative keywords. we support a lot of them :-) http://hg.netbeans.org/main/file/tip/cnd.lexer/src/org/netbeans/cnd/api/lexer/CppTokenId.java > Thanks for the fast fix, works fine. you are welcome |