diff options
author | Oriko <oriko1010@protonmail.com> | 2020-03-11 20:31:25 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-11 21:26:47 +0100 |
commit | 8d54e4e012e49e1bf75193c39e05095e8a78b4c9 (patch) | |
tree | d3bfd37f94891f0ec9b5f5dbbe3fe3f82ac57a04 /Libraries/LibGUI/CppLexer.h | |
parent | 07e5b93c382faba03be2633bd4fccade53079b7d (diff) | |
download | serenity-8d54e4e012e49e1bf75193c39e05095e8a78b4c9.zip |
LibGUI: Highlight various number literals
Diffstat (limited to 'Libraries/LibGUI/CppLexer.h')
-rw-r--r-- | Libraries/LibGUI/CppLexer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGUI/CppLexer.h b/Libraries/LibGUI/CppLexer.h index 63583cd4a1..ae8b4d2651 100644 --- a/Libraries/LibGUI/CppLexer.h +++ b/Libraries/LibGUI/CppLexer.h @@ -48,7 +48,8 @@ namespace GUI { __TOKEN(SingleQuotedString) \ __TOKEN(EscapeSequence) \ __TOKEN(Comment) \ - __TOKEN(Number) \ + __TOKEN(Integer) \ + __TOKEN(Float) \ __TOKEN(Keyword) \ __TOKEN(KnownType) \ __TOKEN(Identifier) |