瀏覽代碼

Update compiler.h

blueloveTH 3 年之前
父節點
當前提交
2c111cd563
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/compiler.h

+ 0 - 1
src/compiler.h

@@ -241,7 +241,6 @@ private:
                 case '-': {
                     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("-"));
                     return;
                 }