Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
dcfe723e
by Raymond Toy at 2026-06-30T20:33:49-07:00
-
e4e5c574
by Raymond Toy at 2026-06-30T20:33:49-07:00
2 changed files:
Changes:
| ... | ... | @@ -249,11 +249,11 @@ |
| 249 | 249 | ((input :initarg :input :reader hex-float-parse-error-input)
|
| 250 | 250 | (position :initarg :position :reader hex-float-parse-error-position)
|
| 251 | 251 | (message :initarg :message :reader hex-float-parse-error-message))
|
| 252 | - (:report #'(lambda (c s)
|
|
| 253 | - (format s "Hex float parse error~@[ at position ~D~]: ~A~@[ (input: ~S)~]"
|
|
| 254 | - (hex-float-parse-error-position c)
|
|
| 255 | - (hex-float-parse-error-message c)
|
|
| 256 | - (hex-float-parse-error-input c)))))
|
|
| 252 | + (:report (lambda (c s)
|
|
| 253 | + (format s "Hex float parse error~@[ at position ~D~]: ~A~@[ (input: ~S)~]"
|
|
| 254 | + (hex-float-parse-error-position c)
|
|
| 255 | + (hex-float-parse-error-message c)
|
|
| 256 | + (hex-float-parse-error-input c)))))
|
|
| 257 | 257 | |
| 258 | 258 | (defun read-hex-float-from-stream (stream)
|
| 259 | 259 | "Read a C-style hex float from STREAM and return a float value.
|