Skip to content

Commit

Permalink
Updated keywords.txt
Browse files Browse the repository at this point in the history
This commit fixes some highlighting issues due to multiple keyword
entries.

The missing C++ keywords have been added.

A set of standard fixed sized integers has been added also: uint8_t,
int32_t,...
  • Loading branch information
Chris--A committed May 18, 2015
1 parent d008d9d commit 223db04
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions build/shared/lib/keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,35 @@ INTERNAL LITERAL2 AnalogReference RESERVED_WORD_2
INTERNAL1V1 LITERAL2 AnalogReference RESERVED_WORD_2
INTERNAL2V56 LITERAL2 AnalogReference RESERVED_WORD_2

auto LITERAL2
auto LITERAL2 RESERVED_WORD_2
constexpr LITERAL2 RESERVED_WORD_2
decltype LITERAL2 RESERVED_WORD_2
nullptr LITERAL2 RESERVED_WORD_2
wchar_t LITERAL2 RESERVED_WORD_2

int8_t LITERAL2 RESERVED_WORD_2
int16_t LITERAL2 RESERVED_WORD_2
int32_t LITERAL2 RESERVED_WORD_2
int64_t LITERAL2 RESERVED_WORD_2
uint8_t LITERAL2 RESERVED_WORD_2
uint16_t LITERAL2 RESERVED_WORD_2
uint32_t LITERAL2 RESERVED_WORD_2
uint64_t LITERAL2 RESERVED_WORD_2

char16_t LITERAL2 RESERVED_WORD_2
char32_t LITERAL2 RESERVED_WORD_2
static_assert LITERAL2 RESERVED_WORD_2
operator LITERAL2 RESERVED_WORD_2
enum LITERAL2 RESERVED_WORD_2
delete LITERAL2 RESERVED_WORD_2
bool LITERAL2 RESERVED_WORD_2
boolean LITERAL2 BooleanVariables RESERVED_WORD_2
byte LITERAL2 Byte RESERVED_WORD_2
char LITERAL2 Char RESERVED_WORD_2
const LITERAL2 Const RESERVED_WORD_2
false LITERAL2 Constants LITERAL_BOOLEAN
float LITERAL2 Float RESERVED_WORD_2
double LITERAL2 RESERVED_WORD_2
null LITERAL2 RESERVED_WORD_2
int LITERAL2 Int RESERVED_WORD_2
long LITERAL2 Long RESERVED_WORD_2
Expand All @@ -58,14 +71,7 @@ String LITERAL2 String RESERVED_WORD_2
void LITERAL2 Void RESERVED_WORD_2
true LITERAL2 LITERAL_BOOLEAN
unsigned LITERAL2 RESERVED_WORD_2

boolean LITERAL2 boolean_ RESERVED_WORD_2
byte LITERAL2 byte_ RESERVED_WORD_2
char LITERAL2 char_ RESERVED_WORD_2
float LITERAL2 float_ RESERVED_WORD_2
int LITERAL2 int_ RESERVED_WORD_2
long LITERAL2 long_ RESERVED_WORD_2
word LITERAL2 word_ RESERVED_WORD_2
word LITERAL2 RESERVED_WORD_2

# KEYWORD2 specifies methods and functions

Expand Down Expand Up @@ -184,7 +190,6 @@ class KEYWORD3 RESERVED_WORD
continue KEYWORD3 Continue RESERVED_WORD
default KEYWORD3 SwitchCase RESERVED_WORD
do KEYWORD3 DoWhile RESERVED_WORD
double KEYWORD3 Double RESERVED_WORD
else KEYWORD3 Else RESERVED_WORD
for KEYWORD3 For RESERVED_WORD
if KEYWORD3 If RESERVED_WORD
Expand All @@ -196,11 +201,18 @@ this KEYWORD3 RESERVED_WORD
throw KEYWORD3 RESERVED_WORD
try KEYWORD3 RESERVED_WORD
while KEYWORD3 While RESERVED_WORD
word KEYWORD3 Word RESERVED_WORD

setup KEYWORD3 Setup RESERVED_WORD
loop KEYWORD3 Loop RESERVED_WORD

alignas KEYWORD3 RESERVED_WORD
alignof KEYWORD3 RESERVED_WORD
asm KEYWORD3 RESERVED_WORD
export KEYWORD3 RESERVED_WORD
thread_local KEYWORD3 RESERVED_WORD
noexcept KEYWORD3 RESERVED_WORD
export KEYWORD3 RESERVED_WORD

# operators aren't highlighted, but may have documentation

+= IncrementCompound
Expand Down

0 comments on commit 223db04

Please sign in to comment.