Fix minor quoting issue in mode of Beleriand for error case
authorKris Kowal <kris.kowal@cixar.com>
Sun, 12 Apr 2015 18:45:34 +0000 (11:45 -0700)
committerKris Kowal <kris.kowal@cixar.com>
Sun, 12 Apr 2015 18:45:34 +0000 (11:45 -0700)
beleriand.js

index b6bcc0a..6a3e924 100644 (file)
@@ -316,7 +316,7 @@ function parseTengwa(callback, options) {
         } else if (Parser.isBreak(character) || /\d/.test(character)) {
             return callback()(character);
         } else {
-            return callback(makeColumn("anna", {from: "character"}).addError("Unexpected character: " + JSON.stringify(character)));
+            return callback(makeColumn("anna", {from: character}).addError("Unexpected character: " + JSON.stringify(character)));
         }
     };
 }