From 61d36a546b14c73a1b54fd3855e4f7e0d3b80750 Mon Sep 17 00:00:00 2001 From: Vlasta Vesely Date: Sat, 23 Sep 2023 09:08:45 +0200 Subject: [PATCH] translit.c: add double svarita --- tests/translit.c | 3 +++ transliteration.c | 1 + 2 files changed, 4 insertions(+) diff --git a/tests/translit.c b/tests/translit.c index 763a319..ada0db1 100644 --- a/tests/translit.c +++ b/tests/translit.c @@ -64,6 +64,9 @@ START_TEST(test_translit_vedic) /* vedic stresses */ test_translit("अ॒ग्निमी॑ळे पु॒रोहि॑तं", "a\\_gnimī\\'ḷe pu\\_rohi\\'taṃ"); + + /* double svarita */ + test_translit("अ॒ग्निमी᳚ळे", "a\\_gnimī\\\"ḷe"); } END_TEST diff --git a/transliteration.c b/transliteration.c index 7d902bc..8983e9d 100644 --- a/transliteration.c +++ b/transliteration.c @@ -107,6 +107,7 @@ static struct translit_letter table[] = { {0x0964, CODA, "|"}, /* danda */ {0x0951, CODA, "\\'"}, /* svarita */ + {0x1cda, CODA, "\\\""}, /* double svarita */ {0x0952, CODA, "\\_"} /* anudatta */ };