Changeset 1140:46c1f6a93b0d for src/f2cl1.l
- Timestamp:
- 05/02/12 21:40:28 (13 months ago)
- Branch:
- default
- Files:
-
- 1 modified
-
src/f2cl1.l (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/f2cl1.l
r1135 r1140 204 204 (flet ((relax-1 (decl) 205 205 (cond ((and *relaxed-array-decls* (subtypep decl 'array)) 206 (destructuring-bind (a n l)206 (destructuring-bind (a &optional n l) 207 207 decl 208 `(,a ,n ,(mapcar (constantly '*) l)))) 208 (if (subtypep a 'string) 209 `(a ,(mapcar (constantly '*) l)) 210 `(,a ,n ,(mapcar (constantly '*) l))))) 209 211 (t 210 212 decl)))) … … 1076 1078 (do-file) 1077 1079 (do-output outport)))) 1078 1079 1080 1080 1081 (defun translate-and-write-subprog (prog-list outport output-path … … 1152 1153 ;; external. 1153 1154 (setf fun (fixup-f2cl-lib fun (cons (cadr fort-fun) *external-function-names*))) 1154 1155 1155 1156 (special-print fun outport) 1156 1157 (format outport "~2&(in-package #-gcl #:cl-user #+gcl \"CL-USER\")~%#+#.(cl:if (cl:find-package '#:f2cl) '(and) '(or))~%")
