Missing parentheses

This commit is contained in:
Marc Häfner 2013-10-24 00:43:29 +02:00
parent fa76e2dd21
commit 0d662c3ad2
2 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@
lexedLength: string.length
});
} else {
this.token('STRING', this.escapeLines(string, 0, string.length));
this.token('STRING', this.escapeLines(string), 0, string.length);
}
break;
default:

View File

@ -196,7 +196,7 @@ exports.Lexer = class Lexer
if 0 < string.indexOf '#{', 1
@interpolateString string[1...-1], strOffset: 1, lexedLength: string.length
else
@token 'STRING', @escapeLines string, 0, string.length
@token 'STRING', @escapeLines(string), 0, string.length
else
return 0
if octalEsc = /^(?:\\.|[^\\])*\\(?:0[0-7]|[1-7])/.test string