merging matehat's flexible splats (at any position within argument lists)

This commit is contained in:
Jeremy Ashkenas 2010-03-17 21:15:54 -04:00
parent 1bb9c57767
commit 2f97d0d9b1
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@
// balanced (ie. strings, JS literals).
Lexer.prototype.balanced_token = function balanced_token() {
var delimited;
delimited = Array.prototype.slice.call(arguments, 0);
delimited = Array.prototype.slice.call(arguments, 0, arguments.length - 0);
return balanced_string(this.chunk, delimited);
};
// Matches and conumes comments. We pass through comments into JavaScript,