1
Fork 0
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:
Nico Weber 2020-07-26 13:39:43 -04:00 committed by Andreas Kling
parent 5a36d8acb8
commit 96d13f75cf
2 changed files with 24 additions and 0 deletions

View file

@ -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) \