aboutsummaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-11-04 02:01:31 -0700
committerMelody Horn <melody@boringcactus.com>2020-11-04 02:01:31 -0700
commit76b91103955845b551f016308d2482316a355f50 (patch)
tree07b936d0bb3fa9a64886e0ef3bf503bb57afb141 /language
parentfdaad85e09af510deaf030d1c61057b9664f1cfa (diff)
downloadspec-76b91103955845b551f016308d2482316a355f50.tar.gz
spec-76b91103955845b551f016308d2482316a355f50.zip
add true and false as atomic expressions
Diffstat (limited to 'language')
-rw-r--r--language/expression.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/language/expression.rst b/language/expression.rst
index 60c81c7..57573a7 100644
--- a/language/expression.rst
+++ b/language/expression.rst
@@ -1,7 +1,7 @@
Expressions
-----------
-.. crowbar:element:: AtomicExpression <- identifier / constant / string-literal / '(' Expression ')'
+.. crowbar:element:: AtomicExpression <- identifier / constant / 'true' / 'false' / string-literal / '(' Expression ')'
.. crowbar:element:: ObjectExpression <- AtomicExpression ObjectSuffix* / ArrayLiteral / StructLiteral
ObjectSuffix <- ArrayIndexSuffix / FunctionCallSuffix / StructElementSuffix / StructPointerElementSuffix