Fix errors with annotations of consonontal y
authorKris Kowal <kris.kowal@cixar.com>
Sun, 12 Apr 2015 16:38:24 +0000 (09:38 -0700)
committerKris Kowal <kris.kowal@cixar.com>
Sun, 12 Apr 2015 16:38:24 +0000 (09:38 -0700)
general-use.js

index bcd464d..5bf0fbc 100644 (file)
@@ -702,9 +702,9 @@ function parseTengwa(callback, options, tehta, tehtaFrom) {
         } else if (character === "y") {
             return Parser.countPrimes(function (primes) {
                 if (primes === 0) {
-                    return callback(makeColumn("wilya", {from: ""}).addBelow("y", {from: "e"}), tehta, tehtaFrom);
+                    return callback(makeColumn("wilya", {from: ""}).addBelow("y", {from: "y"}), tehta, tehtaFrom);
                 } else if (primes === 1) {
-                    return callback(makeColumn("long-carrier", {from: "i"}).addAbove("i", {from: "e"}), tehta, tehtaFrom);
+                    return callback(makeColumn("long-carrier", {from: "y"}).addAbove("i", {from: ""}), tehta, tehtaFrom);
                 } else {
                     return callback(makeColumn("ure", {from: "y"}).addError("Consonantal Y only has one variation"));
                 }