Skip to content

Commit

Permalink
global reserved
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Jul 8, 2014
1 parent f4b76c3 commit 394bf29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jslint.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// jslint.js
// 2014-07-07
// 2014-07-08

// Copyright (c) 2002 Douglas Crockford (www.JSLint.com)

Expand Down Expand Up @@ -2183,6 +2183,8 @@ klass: do {
if (s === '=') {
master.init = true;
}
} else if (that.reserved) {
that.warn('expected_identifier_a_reserved');
}
} else if (that.id === '.' || that.id === '[') {
if (!that.first || that.first.string === 'arguments') {
Expand Down Expand Up @@ -4280,7 +4282,7 @@ klass: do {

itself.jslint = itself;

itself.edition = '2014-07-07';
itself.edition = '2014-07-08';

return itself;
}());

0 comments on commit 394bf29

Please sign in to comment.