You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.9 KiB
Plaintext

$-------------------------------------------------------------------------
== preprocessor.include-global ==
#include <<CURSOR>>
$-------------------------------------------------------------------------
== preprocessor.include-local ==
#include "<CURSOR>"
$-------------------------------------------------------------------------
== preprocessor.define ==
#define <CURSOR> //
$-------------------------------------------------------------------------
== preprocessor.undefine ==
#undef <CURSOR> //
$-------------------------------------------------------------------------
== preprocessor.if-else-endif ==
#if |?CONDITION:u|
<CURSOR><SPLIT>
#else // ----- not |CONDITION| -----
<+ELSE PART+>
#endif // ----- not |CONDITION| -----
$-------------------------------------------------------------------------
== preprocessor.ifdef-else-endif ==
#ifdef |?CONDITION:u|
<CURSOR><SPLIT>
#else // ----- not |CONDITION| -----
<+ELSE PART+>
#endif // ----- not |CONDITION| -----
$-------------------------------------------------------------------------
== preprocessor.ifndef-else-endif ==
#ifndef |?CONDITION:u|
<CURSOR><SPLIT>
#else // ----- not |CONDITION| -----
<+ELSE PART+>
#endif // ----- not |CONDITION| -----
$-------------------------------------------------------------------------
== preprocessor.ifndef-def-endif ==
#ifndef |?BASENAME:L|_INC
#define |BASENAME|_INC
<CURSOR><SPLIT>
#endif // ----- #ifndef |BASENAME|_INC -----
$-------------------------------------------------------------------------
== preprocessor.error ==
#error "<CURSOR>" //
$-------------------------------------------------------------------------
== preprocessor.line ==
#line <CURSOR> //
$-------------------------------------------------------------------------
== preprocessor.pragma ==
#pragma <CURSOR> //
$-------------------------------------------------------------------------