Changeset 14935


Ignore:
Timestamp:
Aug 9, 2011, 2:20:02 AM (9 years ago)
Author:
rme
Message:

Complain if ~<...~:> doesn't get any arguments. Fixes ticket:3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lib/format.lisp

    r13199 r14935  
    981981      (format-check-simple prefix)
    982982      (format-check-simple suffix)
     983      (unless *format-arguments*
     984        (setq *format-index* start)
     985        (format-error "Missing argument"))
    983986      (let ((args (if (not atsign)
    984987                    ; This piece of garbage is needed to avoid double length counting from (formatter ...) things
Note: See TracChangeset for help on using the changeset viewer.