summaryrefslogtreecommitdiff
path: root/AK/URLParser.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-07-26 20:59:22 -0400
committerAndreas Kling <kling@serenityos.org>2020-07-27 12:11:04 +0200
commit34dc1634418aded05b3b1e8230b39b297e1307ce (patch)
tree80ef58e834350d62a7f6d8055abfd11523aeb128 /AK/URLParser.cpp
parentc1b7fd644c59ffc38f8c1e2ae798dfe93c5f6693 (diff)
downloadserenity-34dc1634418aded05b3b1e8230b39b297e1307ce.zip
CppLexer: Correctly highlight hex escapes in string and char literals
\x consumes all hex digits following it. (If the resulting number then doesn't fit in the character type, the compiler emits an error.) \x would be much more convenient to use if it was always followed by exactly two hex digits (with \u and \U for higher codepoints), but that's sadly not the world we live in.
Diffstat (limited to 'AK/URLParser.cpp')
0 files changed, 0 insertions, 0 deletions