Blame view

bower_components/prism/tests/languages/csharp/preprocessor_feature.test 931 Bytes
eb240478   Luigi Serra   public room cards...
1
2
3
4
  #define DEBUG

  #if DEBUG

  #endif

  

f748e9cf   Luigi Serra   new controllet an...
5
6
7
8
9
10
11
12
13
14
  #elif

  #else

  #endregion

  #error

  #line

  #pragma

  #region

  #undef

  #warning

  

eb240478   Luigi Serra   public room cards...
15
16
17
  ----------------------------------------------------

  

  [

f748e9cf   Luigi Serra   new controllet an...
18
19
20
21
22
23
24
25
26
27
28
29
30
  	["preprocessor", ["#", ["directive", "define"], " DEBUG"]],

  	["preprocessor", ["#", ["directive", "if"], " DEBUG"]],

  	["preprocessor", ["#", ["directive", "endif"]]],

  	

  	["preprocessor", ["#", ["directive", "elif"]]],

      ["preprocessor", ["#", ["directive", "else"]]],

      ["preprocessor", ["#", ["directive", "endregion"]]],

      ["preprocessor", ["#", ["directive", "error"]]],

      ["preprocessor", ["#", ["directive", "line"]]],

      ["preprocessor", ["#", ["directive", "pragma"]]],

      ["preprocessor", ["#", ["directive", "region"]]],

      ["preprocessor", ["#", ["directive", "undef"]]],

      ["preprocessor", ["#", ["directive", "warning"]]]

eb240478   Luigi Serra   public room cards...
31
32
33
34
35
  ]

  

  ----------------------------------------------------

  

  Checks for preprocessor directives.