diff options
-rw-r--r-- | js/def_parser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/def_parser.js b/js/def_parser.js index f09ecd1..87c9e49 100644 --- a/js/def_parser.js +++ b/js/def_parser.js @@ -90,7 +90,7 @@ var p = pos, i, j, is_escaped, s; while (p < n) { i = input.indexOf(type, p); - j = input.indexOf('\n', p) + j = input.indexOf('\n', p); if (i < 0) throw new Error('Unterminated string at position #' + pos + ', line ' + row + ', character ' + col); if ((j >= 0) && (j < i)) throw new Error('Unterminated string at position #' + pos + ', line ' + row + ', character ' + col); is_escaped = false; |