File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ class NameParser < Parslet::Parser
100
100
rule ( :speciallyencodedletter ) { str ( '---' ) | str ( '--' ) | str ( '``' ) | str ( '`' ) | str ( '\'\'' ) | str ( '\'' ) }
101
101
rule ( :escapedletter ) { str ( '\\' ) >> str ( '&' ) }
102
102
rule ( :letterwithmodifier ) { str ( '\\' ) >> modifier >> ( bracketedletter | letter ) }
103
- rule ( :modifier ) { str ( "\' " ) | str ( "\" " ) | str ( "\^ " ) | str ( "\` " ) | str ( "c" ) | str ( "v" ) | str ( "~" ) | str ( "=" ) }
103
+ rule ( :modifier ) { str ( "\' " ) | str ( "\" " ) | str ( "\^ " ) | str ( "\` " ) | str ( "c" ) | str ( "v" ) | str ( "~" ) | str ( "=" ) | str ( "." ) }
104
104
105
105
end
106
106
@@ -190,7 +190,7 @@ class TextParser < Parslet::Parser
190
190
rule ( :speciallyencodedletter ) { str ( '---' ) | str ( '--' ) | str ( '``' ) | str ( '`' ) | str ( '\'\'' ) | str ( '\'' ) }
191
191
rule ( :escapedletter ) { str ( '\\' ) >> str ( '&' ) }
192
192
rule ( :letterwithmodifier ) { str ( '\\' ) >> modifier >> ( bracketedletter | letter ) }
193
- rule ( :modifier ) { str ( "\' " ) | str ( "\" " ) | str ( "\^ " ) | str ( "\` " ) | str ( "c" ) | str ( "v" ) | str ( "~" ) | str ( "=" ) }
193
+ rule ( :modifier ) { str ( "\' " ) | str ( "\" " ) | str ( "\^ " ) | str ( "\` " ) | str ( "c" ) | str ( "v" ) | str ( "~" ) | str ( "=" ) | str ( "." ) }
194
194
195
195
end
196
196
@@ -421,6 +421,9 @@ def read(path)
421
421
end
422
422
423
423
def html_of ( key )
424
+
425
+ puts "html of " + key . to_s
426
+
424
427
if !@entries . has_key? ( key ) then
425
428
return ""
426
429
end
Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ class SpecialLetters
113
113
"\\ =O" => "Ō" ,
114
114
"\\ =U" => "Ū" ,
115
115
"\\ =Y" => "Ȳ" ,
116
+
117
+ "\\ .e" => "ė" ,
118
+ "\\ .E" => "Ė" ,
116
119
}
117
120
118
121
def convert ( letter )
You can’t perform that action at this time.
0 commit comments