renamed all if (accounting) {...} to

#if accounting
 ...
#endif
This commit is contained in:
Abdulaziz Ghuloum
2006-12-17 03:00:34 +03:00
parent ac5ac00bab
commit b7410520cb
5 changed files with 47 additions and 34 deletions
BIN
View File
Binary file not shown.
+11 -7
View File
@@ -231,14 +231,17 @@
))
(define (expand-file ifile)
(define (read-file ifile)
(with-input-from-file ifile
(lambda ()
(let f ()
(let ([x (read)])
(unless (eof-object? x)
(sc-expand x)
(f)))))))
(lambda ()
(let f ()
(let ([x (read)])
(if (eof-object? x)
'()
(cons x (f))))))))
(define (expand-file ifile)
(map sc-expand (read-file ifile)))
(define (compile-library ifile ofile)
(parameterize ([assembler-output #f]
@@ -247,6 +250,7 @@
(printf "compiling ~a ... " ifile)
(compile-file ifile ofile 'replace)
;(expand-file ifile)
;(read-file ifile)
(newline)))
(for-each