eof in kommentaren
This commit is contained in:
@ -1573,6 +1573,8 @@
|
||||
(tagbody
|
||||
state-1
|
||||
(setf d (read-rune input))
|
||||
(when (eq d :eof)
|
||||
(eox input))
|
||||
(unless (data-rune-p d)
|
||||
(wf-error "Illegal char: ~S." d))
|
||||
(when (rune= d #/-) (go state-2))
|
||||
@ -1580,6 +1582,8 @@
|
||||
(go state-1)
|
||||
state-2 ;; #/- seen
|
||||
(setf d (read-rune input))
|
||||
(when (eq d :eof)
|
||||
(eox input))
|
||||
(unless (data-rune-p d)
|
||||
(wf-error "Illegal char: ~S." d))
|
||||
(when (rune= d #/-) (go state-3))
|
||||
@ -1588,6 +1592,8 @@
|
||||
(go state-1)
|
||||
state-3 ;; #/- #/- seen
|
||||
(setf d (read-rune input))
|
||||
(when (eq d :eof)
|
||||
(eox input))
|
||||
(unless (data-rune-p d)
|
||||
(wf-error "Illegal char: ~S." d))
|
||||
(when (rune= d #/>) (return))
|
||||
|
||||
Reference in New Issue
Block a user