Permalink
Browse files

missing close tag

  • Loading branch information...
1 parent 68e7a41 commit e32effce06b317001be75e66eeeac69b9bc4397c @douglascrockford committed Mar 1, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 jslint.js
View
@@ -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)') {

0 comments on commit e32effc

Please sign in to comment.