Permalink
Browse files

case space

  • Loading branch information...
1 parent dab079a commit 60db705ef2743e23d6786c78ca759e05c36b1953 Douglas Crockford committed Feb 2, 2013
Showing with 6 additions and 2 deletions.
  1. +6 −2 jslint.js
View
@@ -1,5 +1,5 @@
// jslint.js
-// 2013-01-29
+// 2013-02-02
// Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
@@ -4264,6 +4264,7 @@ klass: do {
var cases = [],
old_in_block = in_block,
particular,
+ that = token,
the_case = next_token,
unbroken = true;
@@ -4287,6 +4288,9 @@ klass: do {
step_in();
in_block = true;
this.second = [];
+ if (that.from !== next_token.from) {
+ warn('expected_a_at_b_c', next_token, next_token.string, that.from, next_token.from);
+ }
while (next_token.id === 'case') {
the_case = next_token;
cases.forEach(find_duplicate_case);
@@ -6462,7 +6466,7 @@ klass: do {
itself.jslint = itself;
- itself.edition = '2013-01-29';
+ itself.edition = '2013-02-02';
return itself;
}());

0 comments on commit 60db705

Please sign in to comment.