Skip to content

Commit

Permalink
fix line 109 of parser bitwise and to logical and
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrBarghouthi committed Nov 16, 2018
1 parent 154e637 commit bbfdbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Parser {
let valid;
if(arg.type == ARGUMENT_TYPES.COMMANDS)
{
while(this.text.length>startIndex & this.text[startIndex++]!='[');
while(this.text.length>startIndex && this.text[startIndex++]!='[');
console.log({arg:theArgToken,offset:startIndex});
valid = arg.validator(theArgToken,startIndex+this.offset)
}else
Expand Down

0 comments on commit bbfdbed

Please sign in to comment.