@@ -15,7 +15,7 @@ class CPlusPlus < Scanner
15
15
'and' , 'and_eq' , 'asm' , 'bitand' , 'bitor' , 'break' ,
16
16
'case' , 'catch' , 'class' , 'compl' , 'const_cast' ,
17
17
'continue' , 'default' , 'delete' , 'do' , 'dynamic_cast' , 'else' ,
18
- 'enum' , 'export' , 'for' , 'goto' , 'if' , 'namespace' , 'new' ,
18
+ 'enum' , 'export' , 'final' , ' for', 'goto' , 'if' , 'namespace' , 'new' ,
19
19
'not' , 'not_eq' , 'or' , 'or_eq' , 'reinterpret_cast' , 'return' ,
20
20
'sizeof' , 'static_assert' , 'static_cast' , 'struct' , 'switch' ,
21
21
'template' , 'throw' , 'try' , 'typedef' , 'typeid' , 'typename' , 'union' ,
@@ -24,19 +24,19 @@ class CPlusPlus < Scanner
24
24
25
25
PREDEFINED_TYPES = [
26
26
'bool' , 'char' , 'char16_t' , 'char32_t' , 'double' , 'float' ,
27
- 'int' , 'long' , 'nullptr' ' short', 'signed' , 'unsigned' ,
27
+ 'int' , 'long' , 'short' , 'signed' , 'unsigned' ,
28
28
'wchar_t' , 'string' ,
29
29
] # :nodoc:
30
30
PREDEFINED_CONSTANTS = [
31
31
'false' , 'true' ,
32
- 'EOF' , 'NULL' ,
32
+ 'EOF' , 'NULL' , 'nullptr'
33
33
] # :nodoc:
34
34
PREDEFINED_VARIABLES = [
35
35
'this' ,
36
36
] # :nodoc:
37
37
DIRECTIVES = [
38
38
'alignas' , 'alignof' , 'auto' , 'const' , 'constexpr' , 'decltype' , 'explicit' ,
39
- 'extern' , 'final' , ' friend', 'inline' , 'mutable' , 'noexcept' , 'operator' ,
39
+ 'extern' , 'friend' , 'inline' , 'mutable' , 'noexcept' , 'operator' ,
40
40
'override' , 'private' , 'protected' , 'public' , 'register' , 'static' ,
41
41
'thread_local' , 'using' , 'virtual' , 'void' , 'volatile' ,
42
42
] # :nodoc:
0 commit comments