Ignore:
Timestamp:
Mar 10, 2009, 12:52:19 PM (11 years ago)
Author:
gz
Message:

Make the compiler scan format strings for possible errors. ccl::*format-arg-functions* is the alist of functions that should be scanned (so setting this to nil is a way to disable the scanning). The code to actually do the scanning is in format.lisp. It doesn't seem to slow down the compiler in any noticable way. It finds some cases of insufficient args in format strings in ccl sources, I'll fix those in a separate checkin later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/library/parse-ffi.lisp

    r11524 r11805  
    14161416  (apply #'error format args))
    14171417
     1418(pushnew '(c-parse-error . 1) ccl::*format-arg-functions* :test #'equal)
     1419
    14181420(defun macro-definition-of-token (x)
    14191421  (declare (ignore x)))
Note: See TracChangeset for help on using the changeset viewer.