Skip to content

Commit

Permalink
fix: quick fix for the operator range.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Apr 7, 2017
1 parent 1de5417 commit 40761e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (argv.help !== undefined || argv.indent_style === undefined || argv.i === und
}

if (argv.indent_style.toLowerCase() === "space") {
for (i = 1; i < argv.indent_size; i+= 1) {
for (var i = 1; i < argv.indent_size; i+= 1) {
options.tab += SPACE;
}
}
Expand Down
6 changes: 1 addition & 5 deletions frontend/coffeescript/OperatorToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ extractOperator = function () {
s += currentChar;
currentChar = this.nextChar();
}
if (s === '..') {
this.type = ERROR;
this.value = null;
return null;
}

this.value = s;
return s;
};
Expand Down

0 comments on commit 40761e1

Please sign in to comment.