mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
CppLexer: Add token types for "+", "+=", "-", "-=", "=", "==", "/", "/="
Mostly so that TextEdit doesn't emit logspam when I write `int a = 4` in a test program.
This commit is contained in:
parent
5a36d8acb8
commit
96d13f75cf
2 changed files with 24 additions and 0 deletions
|
@ -44,8 +44,16 @@ namespace GUI {
|
|||
__TOKEN(LeftBracket) \
|
||||
__TOKEN(RightBracket) \
|
||||
__TOKEN(Comma) \
|
||||
__TOKEN(Plus) \
|
||||
__TOKEN(PlusEquals) \
|
||||
__TOKEN(Minus) \
|
||||
__TOKEN(MinusEquals) \
|
||||
__TOKEN(Asterisk) \
|
||||
__TOKEN(AsteriskEquals) \
|
||||
__TOKEN(Slash) \
|
||||
__TOKEN(SlashEquals) \
|
||||
__TOKEN(Equals) \
|
||||
__TOKEN(EqualsEquals) \
|
||||
__TOKEN(Semicolon) \
|
||||
__TOKEN(DoubleQuotedString) \
|
||||
__TOKEN(SingleQuotedString) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue