diff options
author | Melody Horn <melody@boringcactus.com> | 2020-11-04 02:01:31 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-11-04 02:01:31 -0700 |
commit | 76b91103955845b551f016308d2482316a355f50 (patch) | |
tree | 07b936d0bb3fa9a64886e0ef3bf503bb57afb141 /language | |
parent | fdaad85e09af510deaf030d1c61057b9664f1cfa (diff) | |
download | spec-76b91103955845b551f016308d2482316a355f50.tar.gz spec-76b91103955845b551f016308d2482316a355f50.zip |
add true and false as atomic expressions
Diffstat (limited to 'language')
-rw-r--r-- | language/expression.rst | 2 |
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 |