aboutsummaryrefslogtreecommitdiff
path: root/language/source-file.rst
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-31 22:38:29 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-31 22:38:29 -0600
commit14c4550aff926f53f256e831a7d99bffffd21dfd (patch)
tree09be545f8edd4923b4b771845fe8b9a3db614430 /language/source-file.rst
parent5af481d62df80d8be3f5835042d30372ef9cbe04 (diff)
downloadspec-14c4550aff926f53f256e831a7d99bffffd21dfd.tar.gz
spec-14c4550aff926f53f256e831a7d99bffffd21dfd.zip
settle on a tagged union plan (for now)
Diffstat (limited to 'language/source-file.rst')
-rw-r--r--language/source-file.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/language/source-file.rst b/language/source-file.rst
index 6522ea8..2fc3ba0 100644
--- a/language/source-file.rst
+++ b/language/source-file.rst
@@ -2,7 +2,7 @@ Source Files
------------
.. crowbar:element:: HeaderFile <- IncludeStatement* HeaderFileElement+
-.. crowbar:element:: HeaderFileElement <- TypeDefinition / FunctionDeclaration / ConstantDefinition / UninitializedVariableDeclaration
+.. crowbar:element:: HeaderFileElement <- TypeDefinition / FunctionDeclaration / ConstantDefinition / VariableDeclaration
A Crowbar header file defines an API boundary, either at the surface of a library or between pieces of a library or application.
:crowbar:ref:`IncludeStatement`\ s can only appear at the beginning of the header file, and header files cannot define behavior directly.