Permalink
Browse files

get rid of fallthrough

  • Loading branch information...
1 parent 759fe63 commit 08764d7025cbbc93b856825aafb5d3d77cca4b77 @chjj chjj committed Oct 17, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/json.js
View
@@ -203,7 +203,8 @@ Parser.prototype._parse = function(data) {
|| !/\d$/.test(this.value)) {
return this._unexpected(ch);
}
- ; // FALL-THROUGH
+ this.value += ch;
+ break;
case '0':
case '1':
case '2':

0 comments on commit 08764d7

Please sign in to comment.