Skip to content

Commit

Permalink
missing close tag
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Mar 1, 2012
1 parent 68e7a41 commit e32effc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jslint.js
Expand Up @@ -5962,6 +5962,9 @@ klass: do {
advance('>');
break;
case '(end)':
if (stack.length !== 0) {
warn('missing_a', next_token, '</' + stack.pop().string + '>');
}
return;
default:
if (next_token.id === '(end)') {
Expand Down

0 comments on commit e32effc

Please sign in to comment.