This commit is contained in:
Jay McCarthy 2011-05-05 15:51:54 -06:00
parent 12f5994191
commit dc639df1da

View File

@ -129,7 +129,7 @@
[(? char-alphabetic?) [(? char-alphabetic?)
(define string-tag (read-until (λ (c) (char=? c #\,)) ip)) (define string-tag (read-until (λ (c) (char=? c #\,)) ip))
(hash-ref STRING-DB string-tag (hash-ref STRING-DB string-tag
(λ () (error 'read-value "Unknown string constant ~v" string-tag)))] (λ () string-tag))]
[c [c
(error 'read-value "Parsing value, expected {, got ~v" c)])) (error 'read-value "Parsing value, expected {, got ~v" c)]))
@ -144,8 +144,7 @@
(λ () (λ ()
(bibtex-parse (current-input-port))))) (bibtex-parse (current-input-port)))))
(printf "~v\n" (hash-count bibdb)) (printf "~v\n" (hash-count bibdb))
(error 'path->bibdb pth) bibdb)
#f)
(path->bibdb "/Users/jay/Dev/scm/github.jeapostrophe/work/papers/etc/all.bib") (path->bibdb "/Users/jay/Dev/scm/github.jeapostrophe/work/papers/etc/all.bib")