this might fix that not parsing smileys at end of line (really smileys
butted up against a tag, e.g. ":-)")
But I didn't have time to test it. But at least it compiles.
ALL_LINGUAS="am bg ca cs da de en_AU en_CA en_GB es fi fr he hi hu it ja ko lt mk my_MM nl no pl pt_BR pt ro ru sk sl sq sr sr@Latn sv tr uk vi zh_CN zh_TW"