added 'boolean' to the grammars for the *SLs, fixing an emailed bug report from Klause Ostermann. -- To avoid the 'true, '(true) etc issue I ommitted boolean from the [quasi]quoted grammar, which makes the current behavior kind of correct.

This commit is contained in:
Matthias Felleisen 2012-06-14 14:20:27 -04:00
parent cd923bb8f8
commit f82f528a8c
6 changed files with 8 additions and 0 deletions

View File

@ -53,6 +53,7 @@
(code:line @#,elem{@racketvalfont{'}@racket[_quoted]})
(code:line @#,elem{@racketvalfont{`}@racket[_quasiquoted]})
number
boolean
string
character]
[choice (code:line name)

View File

@ -32,6 +32,7 @@
(code:line @#,elem{@racketvalfont{'}@racket[_quoted]})
(code:line @#,elem{@racketvalfont{`}@racket[_quasiquoted]})
number
boolean
string
character]
]

View File

@ -29,6 +29,7 @@
name
(code:line @#,elem{@racketvalfont{'}@racket[name]})
number
boolean
string
character]
]

View File

@ -36,6 +36,7 @@
(code:line @#,elem{@racketvalfont{'}@racket[_quoted]})
(code:line @#,elem{@racketvalfont{`}@racket[_quasiquoted]})
number
boolean
string
character]
]

View File

@ -35,6 +35,7 @@
(code:line @#,elem{@racketvalfont{'}@racket[_quoted]})
(code:line @#,elem{@racketvalfont{`}@racket[_quasiquoted]})
number
boolean
string
character]
[expr-for-let (lambda (variable variable ...) expr)

View File

@ -74,6 +74,9 @@ not including a space or one of the following:}
@t{A @racket[_number] is a number such as @racket[123], @racket[3/2], or
@racket[5.5].}
@t{A @racket[_boolean] is one of: @racket[true], @racket[false],
@racket[#t], @racket[#f], @code{#true}, or @code{#false}.}
@t{A @racket[_symbol] is a quote character followed by a name. A
symbol is a value, just like 0 or empty.}