summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorEdoardo Tenani <edoardo.tenani@gmail.com>2016-01-28 09:46:58 +0100
committerEdoardo Tenani <edoardo.tenani@gmail.com>2016-01-28 09:46:58 +0100
commit51be7f58cc8891e1cd759a8defedc7d2f151c07b (patch)
treef3b6fcde0514917fab11af6b9c337190a8a1be7a /pygments
parent8e395b0cd2d2ed0aabcd9a1ea83e370649943cf3 (diff)
downloadpygments-51be7f58cc8891e1cd759a8defedc7d2f151c07b.tar.gz
remove unused keywords from ArduinoLexer
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/c_like.py23
1 files changed, 11 insertions, 12 deletions
diff --git a/pygments/lexers/c_like.py b/pygments/lexers/c_like.py
index 552c732e..f4a9c299 100644
--- a/pygments/lexers/c_like.py
+++ b/pygments/lexers/c_like.py
@@ -441,18 +441,17 @@ class ArduinoLexer(CppLexer):
'LOW', 'INPUT', 'OUTPUT', 'INPUT_PULLUP', 'LED_BUILTIN', 'true', 'false',
'void', 'boolean', 'char', 'unsigned char', 'byte', 'int', 'unsigned int',
'word', 'long', 'unsigned long', 'short', 'float', 'double', 'string', 'String',
- 'array', 'char()', 'byte()', 'int()', 'word()', 'long()', 'float()', 'static',
- 'volatile', 'const', 'sizeof()', 'boolean', 'byte', 'word', 'string', 'String',
- 'array', 'int', 'float', 'private', 'char', 'virtual', 'operator', 'sizeof',
- 'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t', 'int8_t', 'int16_t', 'int32_t',
- 'int64_t', 'dynamic_cast', 'typedef', 'const_cast', 'const', 'struct',
- 'static_cast', 'union', 'unsigned', 'long', 'volatile', 'static', 'protected',
- 'bool', 'public', 'friend', 'auto', 'void', 'enum', 'extern', 'class', 'short',
- 'reinterpret_cast', 'double', 'register', 'explicit', 'signed', 'inline',
- 'delete', '_Bool', 'complex', '_Complex', '_Imaginary', 'atomic_bool',
- 'atomic_char', 'atomic_schar', 'atomic_uchar', 'atomic_short', 'atomic_ushort',
- 'atomic_int', 'atomic_uint', 'atomic_long', 'atomic_ulong', 'atomic_llong',
- 'atomic_ullong', 'PROGMEM'))
+ 'array', 'static', 'volatile', 'const', 'boolean', 'byte', 'word', 'string',
+ 'String', 'array', 'int', 'float', 'private', 'char', 'virtual', 'operator',
+ 'sizeof', 'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t', 'int8_t', 'int16_t',
+ 'int32_t', 'int64_t', 'dynamic_cast', 'typedef', 'const_cast', 'const',
+ 'struct', 'static_cast', 'union', 'unsigned', 'long', 'volatile', 'static',
+ 'protected', 'bool', 'public', 'friend', 'auto', 'void', 'enum', 'extern',
+ 'class', 'short', 'reinterpret_cast', 'double', 'register', 'explicit',
+ 'signed', 'inline', 'delete', '_Bool', 'complex', '_Complex', '_Imaginary',
+ 'atomic_bool', 'atomic_char', 'atomic_schar', 'atomic_uchar', 'atomic_short',
+ 'atomic_ushort', 'atomic_int', 'atomic_uint', 'atomic_long', 'atomic_ulong',
+ 'atomic_llong', 'atomic_ullong', 'PROGMEM'))
# Language shipped functions and class ( )
functions = set((