mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Additional keyword '__attribute', supported by gcc.
This commit is contained in:
parent
b74edd50a1
commit
0f97e58d2f
2 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ public abstract class GNUScannerExtensionConfiguration extends AbstractScannerEx
|
|||
public static void addAdditionalGNUKeywords(CharArrayIntMap target) {
|
||||
target.put(GCCKeywords.cp__ALIGNOF__, IGCCToken.t___alignof__ );
|
||||
target.put(GCCKeywords.cp__ASM__, IToken.t_asm);
|
||||
target.put(GCCKeywords.cp__ATTRIBUTE, IGCCToken.t__attribute__ );
|
||||
target.put(GCCKeywords.cp__ATTRIBUTE__, IGCCToken.t__attribute__ );
|
||||
target.put(GCCKeywords.cp__CONST, IToken.t_const);
|
||||
target.put(GCCKeywords.cp__CONST__, IToken.t_const);
|
||||
|
|
|
@ -27,6 +27,7 @@ public class GCCKeywords {
|
|||
public static final char [] cp__ATTRIBUTE__ = __ATTRIBUTE__.toCharArray();
|
||||
public static final char [] cp__DECLSPEC = __DECLSPEC.toCharArray();
|
||||
|
||||
public static final char [] cp__ATTRIBUTE = "__attribute".toCharArray(); //$NON-NLS-1$
|
||||
public static final char [] cp__ASM__= "__asm__".toCharArray(); //$NON-NLS-1$
|
||||
public static final char [] cp__CONST__= "__const__".toCharArray(); //$NON-NLS-1$
|
||||
public static final char [] cp__CONST= "__const".toCharArray(); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue