mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
empty returns no longer return null
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user