test case-insensitivity of entry types and field keys

This commit is contained in:
Steven G. Johnson 2017-08-01 12:07:50 -04:00
parent 85e5456187
commit 75809edb6b
2 changed files with 3 additions and 3 deletions

View File

@ -55,12 +55,12 @@
indextitle = {Effect of immobilization on catalytic characteristics}, indextitle = {Effect of immobilization on catalytic characteristics},
} }
@article{angenendt, @Article{angenendt,
author = {Angenendt, Arnold}, author = {Angenendt, Arnold},
title = {In Honore Salvatoris~-- Vom Sinn und Unsinn der title = {In Honore Salvatoris~-- Vom Sinn und Unsinn der
Patrozinienkunde}, Patrozinienkunde},
journaltitle = {Revue d'Histoire Eccl{\'e}siastique}, journaltitle = {Revue d'Histoire Eccl{\'e}siastique},
date = 2002, Date = 2002,
volume = 97, volume = 97,
pages = {431--456, 791--823}, pages = {431--456, 791--823},
langid = {german}, langid = {german},

View File

@ -89,7 +89,7 @@ field!(parser, dict) = begin
if token != "}" if token != "}"
key = token key = token
expect!(parser, "=") expect!(parser, "=")
token, dict[key] = value!(parser) token, dict[lowercase(key)] = value!(parser)
end end
end end
expect(parser, token, "}") expect(parser, token, "}")