Skip to content

Commit

Permalink
remove some debugging declamations
Browse files Browse the repository at this point in the history
  • Loading branch information
slyrus committed Oct 9, 2010
1 parent a4c680b commit b28bf0f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions io/pdb.lisp
Expand Up @@ -203,15 +203,13 @@
record))

(defun find-first-char (char string &key (start 0) (escape-char #\\))
(declare (optimize (debug 3)))
(let ((pos (position char string :start start)))
(when pos (if (and (plusp pos)
(char= (char string (1- pos)) escape-char))
(find-first-char char string :start (1+ pos) :escape-char escape-char)
pos))))

(defun parse-specification (string &optional start)
(declare (optimize (debug 3)))
(let ((colon-pos (find-first-char #\: string :start start)))
(when colon-pos
(let ((semicolon-pos (find-first-char #\; string
Expand All @@ -232,8 +230,10 @@
(cons token value)))

(defmethod finish-pdb-record ((record pdb-compound) &key (entry *current-entry*))
(declare (ignore entry))
(call-next-method)
(print (parse-specification-list (print (data record)))))

(defgeneric write-pdb-record (record-type data stream))

(defun write-pdb-header (entry stream)
Expand Down Expand Up @@ -276,7 +276,6 @@
:sheet :sigatm :siguij :site :ssbond :tvect :formul :hetatm :hetnam))

(defun read-pdb-record (stream)
(declare (optimize (debug 2)))
(let ((record (start-pdb-record
(intern (read-pdb-record-name *current-line*) :keyword)
*current-line*)))
Expand Down

0 comments on commit b28bf0f

Please sign in to comment.