diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-31 21:59:00 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-31 21:59:00 -0600 |
commit | 5af481d62df80d8be3f5835042d30372ef9cbe04 (patch) | |
tree | 6d995adefedd90fd3db269f898a527313a37af10 /language/include.rst | |
parent | c916253f17b329550250549ea0aef4b67ced026f (diff) | |
download | spec-5af481d62df80d8be3f5835042d30372ef9cbe04.tar.gz spec-5af481d62df80d8be3f5835042d30372ef9cbe04.zip |
define and annotate some language elements
Diffstat (limited to 'language/include.rst')
-rw-r--r-- | language/include.rst | 7 |
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. |