Skip to content

Commit

Permalink
Add boolean literal's grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliobz committed Sep 5, 2017
1 parent 6225bae commit 3df36f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,11 @@ The representation semantics of floating-point numbers are described in

### Boolean literals

> **<sup>Lexer</sup>**
> BOOLEAN_LITERAL :
> &nbsp;&nbsp; &nbsp;&nbsp; `true`
> &nbsp;&nbsp; | `false`
The two values of the boolean type are written `true` and `false`.

## Symbols
Expand All @@ -324,4 +329,4 @@ They are catalogued in [the Symbols section][symbols] of the Grammar document.
[binary operators]: expressions.html#arithmetic-and-logical-binary-operators
[tokens]: #tokens
[symbols]: ../grammar.html#symbols
[keywords]: ../grammar.html#keywords
[keywords]: keywords.html

0 comments on commit 3df36f5

Please sign in to comment.