mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +00:00
File extensions
This commit is contained in:
parent
1088451c49
commit
3e1adb8de7
1 changed files with 6 additions and 1 deletions
|
|
@ -152,7 +152,12 @@
|
|||
|
||||
(defun ll/act-on-c-file (file)
|
||||
(let* ((action (aml/read-action-map ll/c-file-action-map))
|
||||
(output (ll/make-tmp-file file ".ll")))
|
||||
(output (ll/make-tmp-file
|
||||
file
|
||||
(cond
|
||||
((eq action 'assemble)
|
||||
".S")
|
||||
(t ".ll")))))
|
||||
(if (eq action 'diff)
|
||||
(ll/diff-c-on-two-compilations file action)
|
||||
(let ((comm (ll/build-clang-command (lls/un-trampify file) action output)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue