summaryrefslogtreecommitdiffstats
path: root/docs/language-reference/03-preprocessor.md
blob: 984d9ce7254857a96a6995e906041d9f195f8d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.