r4842: Auto commit for Debian build
[umlisp.git] / parse-2002.lisp
index 8bbb00915f2ea7781115ce95241ff794e43ce9d3..a42d5b8568a394b539fb8ec36dafe73d9f5521c3 100644 (file)
@@ -5,10 +5,10 @@
 ;;;; Name:          parse-2002.lisp
 ;;;; Purpose:       Parsing and SQL insertion routines for UMLisp which may
 ;;;;                change from year to year
-;;;; Programmer:    Kevin M. Rosenberg
+;;;; Author:        Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2000
 ;;;;
-;;;; $Id: parse-2002.lisp,v 1.7 2003/05/06 07:17:35 kevin Exp $
+;;;; $Id: parse-2002.lisp,v 1.8 2003/05/06 07:44:07 kevin Exp $
 ;;;;
 ;;;; This file, part of UMLisp, is
 ;;;;    Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D.
 ;;;; as governed by the terms of the GNU General Public License.
 ;;;; *************************************************************************
 
-(in-package :umlisp)
-(declaim (optimize (speed 3) (safety 1) (compilation-speed 0) (debug 3)))
+(in-package #:umlisp)
+
+(eval-when (:compile-toplevel)
+  (declaim (optimize (speed 3) (safety 1) (compilation-speed 0) (debug 3))))
 
 ;;; Pre-read data for custom fields into hash tables
 (defvar *parse-hash-init?* nil)
@@ -379,16 +381,16 @@ append a unique number (starting at 2) onto a column name that is repeated in th
                :fields (concatenate 'list
                          (umls-field-string-to-list fmt)
                          (custom-colnames-for-filename fil)))))
-       (setf (ucols f) (ucols-for-umls-file f))
+       (setf (ucols f) (ucols-for-ufile f))
        (push f files))))
   (nreverse files)))
 
 (defun init-custom-files ()
   (let ((ffile (make-instance 'ufile
                     :fil "MRXW.NONENG" :des "Custom NonEnglish Index" :table "MRXW_NONENG"
-                    :cls 5 :rws 0 :bts 0 :fields (fields (find-umls-file "MRXW.ENG")))))
+                    :cls 5 :rws 0 :bts 0 :fields (fields (find-ufile "MRXW.ENG")))))
     (setf (ucols ffile)
-      (ucols-for-umls-file ffile))
+      (ucols-for-ufile ffile))
     (list ffile)))
 
 (defun datatype-for-col (colname)