diff --git a/tools/csv2sqlite/main.d b/tools/csv2sqlite/main.d index c9505ed..fc2200c 100644 --- a/tools/csv2sqlite/main.d +++ b/tools/csv2sqlite/main.d @@ -21,7 +21,8 @@ extern(C) private int callback(void */*NotUsed*/, int /*argc*/, char **/*argv*/, enum Regions : int { Unknown, Europe, Japan, USA, Asia, Germany, Spain, Korea, All, Italy, France, Russia, Poland, Netherlands, Portugal, India, Belgium, - UnitedKingdom, Australia + UnitedKingdom, Australia, JapanAndAsia, JapanAndKorea, EuropeAndAustralia, + SpainAndPortugal, BelgiumAndNetherlands }; private int region_id(string path) pure { @@ -44,6 +45,11 @@ private int region_id(string path) pure { case "Be": return Regions.Belgium; case "Uk": return Regions.UnitedKingdom; case "Au": return Regions.Australia; + case "J,A": return Regions.JapanAndAsia; + case "J,K": return Regions.JapanAndKorea; + case "E,Au": return Regions.EuropeAndAustralia; + case "S,Pt": return Regions.SpainAndPortugal; + case "Be,N": return Regions.BelgiumAndNetherlands; default: return Regions.Unknown; } }