update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
43
dashboard-ui/bower_components/prism/tests/languages/c/macro_feature.test
vendored
Normal file
43
dashboard-ui/bower_components/prism/tests/languages/c/macro_feature.test
vendored
Normal file
|
@ -0,0 +1,43 @@
|
|||
# include <stdio.h>
|
||||
#define PG_locked 0
|
||||
|
||||
#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", "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, multi-line macros and paths inside include statements.
|
Loading…
Add table
Add a link
Reference in a new issue