Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
titwank
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
titwank
2y ago
Similarly in GCC it is hardcoded, with a choice of ASCII or EBCDIC (in gcc/libcpp/charset.cc): /* Convert an escape sequence (pointed to by FROM) to its value on the target, and to the execution character set. D
2.
▲
by
titwank
2y ago
I wondered if clang has the same property, but it's explicitly coded as 10 (in lib/Lex/LiteralSupport.cpp): /// ProcessCharEscape - Parse a standard C escape sequence, which can occur in //&