From 28bd252160a62b022cc25e19d6de2b4d9e88c762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Br=C3=A1ulio=20Bezerra?= Date: Tue, 5 Sep 2017 13:43:32 -0300 Subject: [PATCH] Add boolean literal's grammar --- src/tokens.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tokens.md b/src/tokens.md index 3163a9de6..eaf9baa16 100644 --- a/src/tokens.md +++ b/src/tokens.md @@ -309,6 +309,11 @@ The representation semantics of floating-point numbers are described in ### Boolean literals +> **Lexer** +> BOOLEAN_LITERAL : +>       `true` +>    | `false` + The two values of the boolean type are written `true` and `false`. ## Symbols @@ -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