Ticket #3: format.diff
| File format.diff, 1.1 KB (added by rme, 4 years ago) |
|---|
-
format.lisp
972 972 (cond ((eq *format-index* start) 973 973 (return t)) 974 974 (t (return nil)))))))) 975 (if *format-justification-semi* 976 (format-error "~<...~:> illegal in this context.")) 975 (when *format-justification-semi* 976 (setq *format-index* start) 977 (format-error "~~<...~~:> illegal in this context")) 977 978 (setq *format-pprint* t) 978 979 (let ((format-string *format-control-string*) 979 980 (prefix (if colon "(" "")) … … 998 999 (when end-atsign (setq body-string (format-fill-transform body-string))) 999 1000 (format-check-simple prefix) 1000 1001 (format-check-simple suffix) 1002 (unless *format-arguments* 1003 (setq *format-index* start) 1004 (format-error "Missing argument")) 1001 1005 (let ((args (if (not atsign) 1002 1006 ; This piece of garbage is needed to avoid double length counting from (formatter ...) things 1003 1007 ; but also to allow (flet . t) not to barf.
