empty returns no longer return null

This commit is contained in:
Jeremy Ashkenas
2010-10-06 22:24:52 -04:00
parent 69d2048ccc
commit 13774cf48a
9 changed files with 30 additions and 22 deletions

View File

@@ -418,12 +418,12 @@
Lexer.prototype.tagParameters = function() {
var i, tok;
if (this.tag() !== ')') {
return null;
return;
}
i = this.tokens.length;
while (true) {
if (!(tok = this.tokens[--i])) {
return null;
return;
}
switch (tok[0]) {
case 'IDENTIFIER':