summaryrefslogtreecommitdiffstats
path: root/docs/language-reference/03-preprocessor.md
blob: de579efe0880a3a7b8c0b0552896f617a517f63d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
> Note: This document is a work in progress. It is both incomplete and, in many cases, inaccurate.

Preprocessor
============

Slang supports a C-style preprocessor with the following directives:

* `#include`
* `#define`
* `#undef`
* `#if`, `#ifdef`, `#ifndef`
* `#else`, `#elif`
* `#endif`
* `#error`
* `#warning`
* `#line`
* `#pragma`

> Note: This section is not yet complete.