diff options
author | Johannes Sixt <j6t@kdbg.org> | 2021-10-10 17:03:03 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-10 15:24:21 -0700 |
commit | 637b80cd6a2a73eb6723aec2f52aed1135d99de4 (patch) | |
tree | 523f84e2e59077c69d6eec3fd516df830459feb4 /thread-utils.h | |
parent | userdiff-cpp: prepare test cases with yet unsupported features (diff) | |
download | tgif-637b80cd6a2a73eb6723aec2f52aed1135d99de4.tar.xz |
userdiff-cpp: permit the digit-separating single-quote in numbers
Since C++17, the single-quote can be used as digit separator:
3.141'592'654
1'000'000
0xdead'beaf
Make it known to the word regex of the cpp driver, so that numbers are
not split into separate tokens at the single-quotes.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'thread-utils.h')
0 files changed, 0 insertions, 0 deletions