X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=parse-common.lisp;h=ae7af531d762865617de025b4ad5bc2d9b998acc;hb=6c10979737dc10b0c510b1edfe070346bcac3ff5;hp=11f569944f7b3a8eec37d5b6aa894af58d5c2998;hpb=01888d11a058ecc8c1dcde23291f9cfbb3a307c0;p=umlisp.git diff --git a/parse-common.lisp b/parse-common.lisp index 11f5699..ae7af53 100644 --- a/parse-common.lisp +++ b/parse-common.lisp @@ -7,10 +7,8 @@ ;;;; Author: Kevin M. Rosenberg ;;;; Created: Apr 2000 ;;;; -;;;; $Id$ -;;;; ;;;; This file, part of UMLisp, is -;;;; Copyright (c) 2000-2006 by Kevin M. Rosenberg, M.D. +;;;; Copyright (c) 2000-2010 by Kevin M. Rosenberg, M.D. ;;;; ;;;; UMLisp users are granted the rights to distribute and use this software ;;;; as governed by the terms of the GNU General Public License. @@ -47,8 +45,8 @@ (defun ufile-pathname (ufile &optional (extension "")) "Return pathname for a umls filename with an optional extension" (assert (typep ufile 'ufile)) - (let* ((dirs (append (list (dir ufile)) - (awhen (subdir ufile) (list it)))) + (let* ((dirs (nconc (list (dir ufile)) + (awhen (subdir ufile) (list it)))) (name-list (delimited-string-to-list (fil ufile) #\.)) (name (if (second name-list) (first name-list) @@ -142,7 +140,7 @@ Currently, these are the LEX and NET files." (ext:convert-string-to-bytes str charset:utf-8) str)))) #-(and clisp unicode) (declare (string str)) - (declare (type (integer 0 10000000) len)) + (declare (type (integer 0 100000000) len)) (incf (aref fields-av i) len) (when (> len (aref fields-max i)) (setf (aref fields-max i) len))))