Remove Hack Warning
darcs-hash:20090222183603-a4fee-b9435eb4652e49092c8c3b875e72006ff03b9de2
This commit is contained in:
parent
9344038d33
commit
0398f66695
@ -58,7 +58,7 @@ readTranslation file = do
|
|||||||
[] -> Nothing
|
[] -> Nothing
|
||||||
('#':xs) -> Nothing
|
('#':xs) -> Nothing
|
||||||
_ -> case words ln of
|
_ -> case words ln of
|
||||||
(src:"#UNDEFINED":_) -> Just (read src,Nothing) -- XXX: Find a better way to handle this
|
(src:"#UNDEFINED":_) -> Just (read src,Nothing)
|
||||||
(src:trg:_) -> Just (read src,Just $ chr $ read trg)
|
(src:trg:_) -> Just (read src,Just $ chr $ read trg)
|
||||||
_ -> Nothing
|
_ -> Nothing
|
||||||
) (lines cont)
|
) (lines cont)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user