Added note on handling special values in the parser.
This commit is contained in:
parent
94e4276d60
commit
a97815258a
|
@ -1,7 +1,11 @@
|
|||
#lang racket
|
||||
(require "parameter.rkt")
|
||||
(require syntax/srcloc)
|
||||
|
||||
|
||||
;;;
|
||||
;;; TODO: Handle special values.
|
||||
;;; Pasting an image into the REPL breaks the parser at the moment.
|
||||
|
||||
;;;
|
||||
;;; NOTES:
|
||||
;;; Changes from planet version: ]] (CDB) Bug fixed
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
(bracket-read-syntax #'from-my-read in)))
|
||||
|
||||
(define (bracket-read-expression-syntax src in)
|
||||
(if (eof-object? (peek-byte in))
|
||||
(if (eof-object? (peek-byte-or-special in))
|
||||
eof
|
||||
(with-syntax ([body (parse-expression
|
||||
src
|
||||
|
|
Loading…
Reference in New Issue
Block a user