Skip to content

Commit

Permalink
grammar.md, parse.cpp: removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
redocmath committed Oct 18, 2023
1 parent 677e072 commit d4c373c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ The following character sequences represent operators (including assignment oper
```text
+ && == != ( )
- || < <= * >
>= / : = ~ ;
% , !
>= / = ~ ; %
, !
```

### Integer Literal
Expand Down
2 changes: 1 addition & 1 deletion src/parser/parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "parse.h"

std::vector<char> oprs{
'+', '-', '*', '/', '%', '=', '>', '<', '!', '&', '|', '(', ')', '[', ']', ':', ';', ',', '?', '$', '~',
'+', '-', '*', '/', '%', '=', '>', '<', '!', '&', '|', '(', ')', '[', ']', ';', ',', '?', '$', '~',
};

std::vector<String> operators{
Expand Down

0 comments on commit d4c373c

Please sign in to comment.