aboutsummaryrefslogtreecommitdiff
path: root/language/source-file.rst
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-02 21:36:36 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-02 21:36:36 -0700
commite59e69118302b6a8a9d8c09ed2d5032d432ad33a (patch)
tree74eb029a62f7ffd482fa6968cc965ecc6dbd587c /language/source-file.rst
parent5f78969d4a71908fd8ae43c886614ef0e5664eb0 (diff)
downloadspec-e59e69118302b6a8a9d8c09ed2d5032d432ad33a.tar.gz
spec-e59e69118302b6a8a9d8c09ed2d5032d432ad33a.zip
add loops
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 162bb88..079ee39 100644
--- a/language/source-file.rst
+++ b/language/source-file.rst
@@ -2,7 +2,7 @@ Source Files
------------
.. crowbar:element:: HeaderFile <- IncludeStatement* HeaderFileElement+
- HeaderFileElement <- TypeDefinition / FunctionDeclaration / ConstantDefinition / VariableDeclaration
+ HeaderFileElement <- TypeDefinition / FunctionDeclaration / VariableDefinition / 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.