]> asedeno.scripts.mit.edu Git - cl-protobufs.git/commit
asdf-support: rework import again
authorAlejandro R Sedeño <asedeno@google.com>
Tue, 5 Mar 2013 22:18:35 +0000 (17:18 -0500)
committerAlejandro R Sedeño <asedeno@google.com>
Wed, 6 Mar 2013 04:19:00 +0000 (23:19 -0500)
commitc7d626faec638659d3b334445725fba05d457f52
treeb751b9954218d3ff534222da22136ca7b2173330
parent309d03e90ede390535963920970dd3f6532091ae
asdf-support: rework import again

* DO-PROCESS-IMPORT is now responsible for deciding whether or not to
  process an import. It does so by searching for the .proto to be
  imported, and upon finding it, checks to see if we alredy have a
  schema for that pathname. Additionally, it now returns the pathname.

* PROCESS-IMPORTS and PROCESS-IMPORTS-FROM-FILE now defer the work of
  figuring out whether or not an import has been done to
  DO-PROCESS-IMPORT. PROCESS-IMPORTS uses the return value of
  DO-PROCESS-IMPORT to update the PROTO-IMPORTED-SCHEMAS of the schema
  being processed.
asdf-support.lisp