Browse Source

Update compiler.h

blueloveTH 3 years ago
parent
commit
2c111cd563
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/compiler.h

+ 0 - 1
src/compiler.h

@@ -241,7 +241,6 @@ private:
                 case '-': {
                 case '-': {
                     if(parser->matchchar('=')) parser->set_next_token(TK("-="));
                     if(parser->matchchar('=')) parser->set_next_token(TK("-="));
                     else if(parser->matchchar('>')) parser->set_next_token(TK("->"));
                     else if(parser->matchchar('>')) parser->set_next_token(TK("->"));
-                    else if(parser->matchchar('-')) parser->set_next_token(TK("--"));
                     else parser->set_next_token(TK("-"));
                     else parser->set_next_token(TK("-"));
                     return;
                     return;
                 }
                 }