;;;; 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)
: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)