mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-15 13:52:16 -08:00
CTOP-WRITE takes an argument denoting the source of the code
This commit is contained in:
parent
eb029bd8d1
commit
980b2ab650
2 changed files with 4 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
(in-package "C-BACKEND")
|
||||
|
||||
(defun ctop-write (name h-pathname data-pathname
|
||||
&key shared-data
|
||||
&key shared-data input-designator
|
||||
&aux def top-output-string
|
||||
(*volatile* "volatile "))
|
||||
|
||||
|
|
@ -31,7 +31,8 @@
|
|||
year month day hour minute)
|
||||
(wt-comment-nl "Machine: ~A ~A ~A"
|
||||
(software-type) (software-version) (machine-type)))
|
||||
(wt-comment-nl "Source: ~A" input-designator)
|
||||
(wt-comment-nl "Source: ~A"
|
||||
(or input-designator "Uknown"))
|
||||
|
||||
(wt-nl1 "#include " c::*cmpinclude*)
|
||||
(wt-nl1 "#include \"" (si::coerce-to-filename h-pathname) "\"")
|
||||
|
|
|
|||
|
|
@ -811,6 +811,7 @@ from the C language code. NIL means \"do not create the file\"."
|
|||
(catch *cmperr-tag* (c-backend::ctop-write init-name
|
||||
h-pathname
|
||||
data-pathname
|
||||
:input-designator input-designator
|
||||
:shared-data shared-data))
|
||||
(terpri *compiler-output1*)
|
||||
(terpri *compiler-output2*))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue