Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use of # character in Racket lexer #1472

Merged
merged 10 commits into from Apr 2, 2020
13 changes: 13 additions & 0 deletions spec/visual/samples/racket
Expand Up @@ -2,11 +2,20 @@

;; Single-line comment

;; Multi-line comments

#| Multi-line comment on one line |#

#| Multi-line comment on
two lines |#

#|
# Block comment.
# (define x 3)
# is not highlighted as the commented text.
pyrmont marked this conversation as resolved.
Show resolved Hide resolved
|#


'symbol
`symbol
'(a quoted list)
Expand All @@ -23,6 +32,7 @@

(define (1-crazy-identifier-疯狂的标识符-τρελό-αναγνωριστικό x)
(add1 x))

(check-equal? (1-crazy-identifier-疯狂的标识符-τρελό-αναγνωριστικό 1) 2)

(require xml net/url
Expand Down Expand Up @@ -324,3 +334,6 @@
; as a list item.
(define (render-as-item a-fragment)
`(li ,a-fragment))

;; #true is not highlighted properly
(define ht #true)