aboutsummaryrefslogtreecommitdiff
path: root/language/include.rst
diff options
context:
space:
mode:
Diffstat (limited to 'language/include.rst')
-rw-r--r--language/include.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/language/include.rst b/language/include.rst
new file mode 100644
index 0000000..cc2964a
--- /dev/null
+++ b/language/include.rst
@@ -0,0 +1,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.