summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/def_parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/def_parser.js b/js/def_parser.js
index fd34e80..f09ecd1 100644
--- a/js/def_parser.js
+++ b/js/def_parser.js
@@ -134,8 +134,8 @@
}
else if (c === '\r') {
if (pos >= n) return null; // EOF
- pos++;
if (input.charAt(pos) !== '\n') throw new Error("CR character without a trailing LF at character #" + (pos-1));
+ pos++;
count = 0;
is_line_start = true;
row++;