1 // NOTE: This is a test file for kate's LPC syntax highlighting.
3 // This is a Single-Line Comment
7 // This again is a Single-Line Comment which should end here /*
9 // And this is an evil single line comment \
10 which should include
this and the next line because of the \
11 Do
not use
this style at home
, kids
.
12 // BEGIN region marker
14 // END of region marker
18 // Some Preprocessor stuff:
19 #define SOME_STUFF if(foo("bar")) \
22 } // Preprocessor, Keyword, Preprocessor-String, Multiline
29 /* Some other Data Types: */
31 int i
= 1; // Integer.
32 float b
= 2.34; // Float.
33 int c
= 0b001; // Binary
34 int e
= 0x019Beef; // Hexadecimal
35 int f
= 0o2345
; // Octal
36 string a
= "Wheee"; // String
38 heee"; // Multi-Line String, again, don't use this.
60 WARNING: If the above function is part of a multi-line comment,
61 it's buggy. The WARNING: itself should be a comment-keyword.
62 That's not actually part of the language, but simply used
63 to highlight important stuff inside comments like TODO: etc.