translit.c: add double svarita

This commit is contained in:
Vlasta Vesely 2023-09-23 09:08:45 +02:00
parent cb7c09f44f
commit 61d36a546b
No known key found for this signature in database
GPG key ID: EB0E649DC0DFCC22
2 changed files with 4 additions and 0 deletions

View file

@ -64,6 +64,9 @@ START_TEST(test_translit_vedic)
/* vedic stresses */ /* vedic stresses */
test_translit("अ॒ग्निमी॑ळे पु॒रोहि॑तं", "a\\_gnimī\\'ḷe pu\\_rohi\\'taṃ"); test_translit("अ॒ग्निमी॑ळे पु॒रोहि॑तं", "a\\_gnimī\\'ḷe pu\\_rohi\\'taṃ");
/* double svarita */
test_translit("अ॒ग्निमी᳚ळे", "a\\_gnimī\\\"ḷe");
} }
END_TEST END_TEST

View file

@ -107,6 +107,7 @@ static struct translit_letter table[] = {
{0x0964, CODA, "|"}, /* danda */ {0x0964, CODA, "|"}, /* danda */
{0x0951, CODA, "\\'"}, /* svarita */ {0x0951, CODA, "\\'"}, /* svarita */
{0x1cda, CODA, "\\\""}, /* double svarita */
{0x0952, CODA, "\\_"} /* anudatta */ {0x0952, CODA, "\\_"} /* anudatta */
}; };