Skip to content

Commit d7253ab

Browse files
authored
Merge pull request rust-lang#110 from brauliobz/grammar_bool_literals
Add boolean literal's grammar
2 parents 51b6edc + 28bd252 commit d7253ab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: src/tokens.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,11 @@ The representation semantics of floating-point numbers are described in
309309

310310
### Boolean literals
311311

312+
> **<sup>Lexer</sup>**
313+
> BOOLEAN_LITERAL :
314+
> &nbsp;&nbsp; &nbsp;&nbsp; `true`
315+
> &nbsp;&nbsp; | `false`
316+
312317
The two values of the boolean type are written `true` and `false`.
313318

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

0 commit comments

Comments
 (0)