aboutsummaryrefslogtreecommitdiff
path: root/language/include.rst
blob: cc2964a016c9b50ff4ba8be85fdbf1971760196e (plain)
1
2
3
4
5
6
7
Including Headers
-----------------

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

    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`.
    This statement has no runtime effect.