try reporting complex Scribble braces as regular braces

svn: r15614
This commit is contained in:
Matthew Flatt 2009-07-28 22:20:25 +00:00
parent c261379a29
commit 84485e14ad
2 changed files with 5 additions and 4 deletions

View File

@ -91,7 +91,7 @@
(let-values ([(end-line end-col end-pos) (port-next-location in)])
(values (cadr m)
'parenthesis
#f
'|{| ;; Better complex paren?
pos
end-pos
(let ([closer (regexp-quote
@ -108,8 +108,8 @@
#"[@{])|(?="
closer
#")|(?=[\r\n])|$)"))
#f
#f)
'|{| ;; Better complex paren?
'|}|) ;; Better complex paren?
mode)))))
(if (eof-object? (peek-char in))

View File

@ -200,7 +200,7 @@
(test "@`',@foo{blah}" '((1 parenthesis)
(1 constant) ; `
(1 constant) ; '
(2 other) ; ,@
(2 other) ; ,@
(3 symbol)
(1 parenthesis)
(4 string)
@ -232,3 +232,4 @@
(1 string)
(1 parenthesis)))
; (test "@|=@=|}" null)