use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,37 @@
|
||||
__FILE__
|
||||
__LINE__
|
||||
__DATE__
|
||||
__TIME__
|
||||
__TIMESTAMP__
|
||||
__func__
|
||||
EOF
|
||||
NULL
|
||||
SEEK_CUR
|
||||
SEEK_END
|
||||
SEEK_SET
|
||||
stdin
|
||||
stdout
|
||||
stderr
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["constant", "__FILE__"],
|
||||
["constant", "__LINE__"],
|
||||
["constant", "__DATE__"],
|
||||
["constant", "__TIME__"],
|
||||
["constant", "__TIMESTAMP__"],
|
||||
["constant", "__func__"],
|
||||
["constant", "EOF"],
|
||||
["constant", "NULL"],
|
||||
["constant", "SEEK_CUR"],
|
||||
["constant", "SEEK_END"],
|
||||
["constant", "SEEK_SET"],
|
||||
["constant", "stdin"],
|
||||
["constant", "stdout"],
|
||||
["constant", "stderr"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all constants.
|
@ -0,0 +1,29 @@
|
||||
_Alignas _Alignof _Atomic _Bool
|
||||
_Complex _Generic _Imaginary
|
||||
_Noreturn _Static_assert _Thread_local
|
||||
asm typeof inline auto break
|
||||
case char const continue default
|
||||
do double else enum extern
|
||||
float for goto if int
|
||||
long register return short signed
|
||||
sizeof static struct switch typedef
|
||||
union unsigned void volatile while
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "_Alignas"], ["keyword", "_Alignof"], ["keyword", "_Atomic"], ["keyword", "_Bool"],
|
||||
["keyword", "_Complex"], ["keyword", "_Generic"], ["keyword", "_Imaginary"],
|
||||
["keyword", "_Noreturn"], ["keyword", "_Static_assert"], ["keyword", "_Thread_local"],
|
||||
["keyword", "asm"], ["keyword", "typeof"], ["keyword", "inline"], ["keyword", "auto"], ["keyword", "break"],
|
||||
["keyword", "case"], ["keyword", "char"], ["keyword", "const"], ["keyword", "continue"], ["keyword", "default"],
|
||||
["keyword", "do"], ["keyword", "double"], ["keyword", "else"], ["keyword", "enum"], ["keyword", "extern"],
|
||||
["keyword", "float"], ["keyword", "for"], ["keyword", "goto"], ["keyword", "if"], ["keyword", "int"],
|
||||
["keyword", "long"], ["keyword", "register"], ["keyword", "return"], ["keyword", "short"], ["keyword", "signed"],
|
||||
["keyword", "sizeof"], ["keyword", "static"], ["keyword", "struct"], ["keyword", "switch"], ["keyword", "typedef"],
|
||||
["keyword", "union"], ["keyword", "unsigned"], ["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all keywords.
|
@ -0,0 +1,45 @@
|
||||
# include <stdio.h>
|
||||
#define PG_locked 0
|
||||
|
||||
#defined
|
||||
#elif
|
||||
#else
|
||||
#endif
|
||||
#error
|
||||
#ifdef
|
||||
#ifndef
|
||||
#if
|
||||
#import
|
||||
#include
|
||||
#line
|
||||
#pragma
|
||||
#undef
|
||||
#using
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["macro", [
|
||||
"# ", ["directive", "include"],
|
||||
["string", "<stdio.h>"]
|
||||
]],
|
||||
["macro", ["#", ["directive", "define"], " PG_locked 0"]],
|
||||
["macro", ["#", ["directive", "defined"]]],
|
||||
["macro", ["#", ["directive", "elif"]]],
|
||||
["macro", ["#", ["directive", "else"]]],
|
||||
["macro", ["#", ["directive", "endif"]]],
|
||||
["macro", ["#", ["directive", "error"]]],
|
||||
["macro", ["#", ["directive", "ifdef"]]],
|
||||
["macro", ["#", ["directive", "ifndef"]]],
|
||||
["macro", ["#", ["directive", "if"]]],
|
||||
["macro", ["#", ["directive", "import"]]],
|
||||
["macro", ["#", ["directive", "include"]]],
|
||||
["macro", ["#", ["directive", "line"]]],
|
||||
["macro", ["#", ["directive", "pragma"]]],
|
||||
["macro", ["#", ["directive", "undef"]]],
|
||||
["macro", ["#", ["directive", "using"]]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for macros and paths inside include statements.
|
@ -0,0 +1,35 @@
|
||||
42
|
||||
3.14159
|
||||
4e10
|
||||
2.1e-10
|
||||
0.4e+2
|
||||
0xbabe
|
||||
0xBABE
|
||||
42f
|
||||
42F
|
||||
42u
|
||||
42U
|
||||
42l
|
||||
42L
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["number", "42"],
|
||||
["number", "3.14159"],
|
||||
["number", "4e10"],
|
||||
["number", "2.1e-10"],
|
||||
["number", "0.4e+2"],
|
||||
["number", "0xbabe"],
|
||||
["number", "0xBABE"],
|
||||
["number", "42f"],
|
||||
["number", "42F"],
|
||||
["number", "42u"],
|
||||
["number", "42U"],
|
||||
["number", "42l"],
|
||||
["number", "42L"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for decimal numbers and hexadecimal numbers.
|
@ -0,0 +1,61 @@
|
||||
+ - * / % -- ++
|
||||
>> <<
|
||||
~ & | ^
|
||||
+= -= *= /= %= >>= <<= &= |= ^=
|
||||
! && ||
|
||||
-> ::
|
||||
? :
|
||||
= == != < > <= >=
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["operator", "+"],
|
||||
["operator", "-"],
|
||||
["operator", "*"],
|
||||
["operator", "/"],
|
||||
["operator", "%"],
|
||||
["operator", "--"],
|
||||
["operator", "++"],
|
||||
|
||||
["operator", ">>"],
|
||||
["operator", "<<"],
|
||||
|
||||
["operator", "~"],
|
||||
["operator", "&"],
|
||||
["operator", "|"],
|
||||
["operator", "^"],
|
||||
|
||||
["operator", "+="],
|
||||
["operator", "-="],
|
||||
["operator", "*="],
|
||||
["operator", "/="],
|
||||
["operator", "%="],
|
||||
["operator", ">>="],
|
||||
["operator", "<<="],
|
||||
["operator", "&="],
|
||||
["operator", "|="],
|
||||
["operator", "^="],
|
||||
|
||||
["operator", "!"],
|
||||
["operator", "&&"],
|
||||
["operator", "||"],
|
||||
|
||||
["operator", "->"],
|
||||
["operator", "::"],
|
||||
|
||||
["operator", "?"],
|
||||
["operator", ":"],
|
||||
|
||||
["operator", "="],
|
||||
["operator", "=="],
|
||||
["operator", "!="],
|
||||
["operator", "<"],
|
||||
["operator", ">"],
|
||||
["operator", "<="],
|
||||
["operator", ">="]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for all operators
|
Reference in New Issue
Block a user