diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-26 10:32:12 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-26 10:33:50 +0200 |
commit | ed242d538a0c2afad57870e65ffa7e6a3d8a0eb8 (patch) | |
tree | b0be4352f81c39c29e60ca68cc3a394b31ed9ad7 /DevTools/HackStudio/CppLexer.h | |
parent | 2b19badd744ac461f75c27f1de768f1bc30c1d7b (diff) | |
download | serenity-ed242d538a0c2afad57870e65ffa7e6a3d8a0eb8.zip |
HackStudio: Assorted improvements to C++ highlighting
Add a list of hard-coded standard types (including AK types) and show
them in a different style.
Rehighligt the file whenever it changes. (This is very inefficient but
makes it much easier to experiment.)
Also keep tweaking the colors. :^)
Diffstat (limited to 'DevTools/HackStudio/CppLexer.h')
-rw-r--r-- | DevTools/HackStudio/CppLexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DevTools/HackStudio/CppLexer.h b/DevTools/HackStudio/CppLexer.h index 71bb05100d..d2a61eda8d 100644 --- a/DevTools/HackStudio/CppLexer.h +++ b/DevTools/HackStudio/CppLexer.h @@ -21,6 +21,7 @@ __TOKEN(Comment) \ __TOKEN(Number) \ __TOKEN(Keyword) \ + __TOKEN(KnownType) \ __TOKEN(Identifier) struct CppPosition { |