Skip to content
Snippets Groups Projects
Commit c6e55e56 authored by gerd's avatar gerd
Browse files

Compile-time checking of calls to FORMAT.

	* src/code/format.lisp (min/max-format-arguments-count)
	(min/max-format-args, min/max-conditional-args): New functions.

	* src/compiler/srctran.lisp (check-format-args): New function.
	(format): New transformer for simple-string format control
	and (<= speed space), checking number of args.
	(format) <transforms>: Use min/max-format-arguments-count.

	* src/code/package.lisp (unintern): Add missing args to format.

	* src/compiler/disassem.lisp (maybe-note-associated-storage-ref):
	Remove extraneous format arg.
parent c7f689ba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment