aboutsummaryrefslogtreecommitdiff
path: root/language/include.rst
blob: 4667a498800d2206b822412130a41ac97515675b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Including Headers
-----------------

.. crowbar:element:: IncludeStatement <- 'include' string-literal ';'

    Compile-time Behavior:

    When encountering this statement at the beginning of a file, the compiler should interpret the string literal as a relative file path, look up the corresponding file in an implementation-defined way, and load the definitions from the given :crowbar:ref:`HeaderFile`.

    Runtime Behavior:

    This statement has no runtime behavior.