]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Correct and simplify quoted number regexps
authorAlan Mackenzie <acm@muc.de>
Mon, 14 Oct 2024 21:27:04 +0000 (21:27 +0000)
committerEshel Yaron <me@eshelyaron.com>
Tue, 15 Oct 2024 19:43:16 +0000 (21:43 +0200)
commitb9c65ca789cc7e5ffd7f964bba0e52d75ff37458
tree65270f01ab92d056979244838aee8ccbd2fefd3f
parent999182612e1365156af713c02dac66f204d67ded
CC Mode: Correct and simplify quoted number regexps

C++ Mode now gives correct fontification when \' is inserted
between the adjacent apostrophes in the number 0xde'adb''eef.

* lisp/progmodes/cc-mode.el (c-maybe-quoted-number-head):
Simplify and correct.
(c-maybe-quoted-number-tail, c-maybe-quoted-number): Simplify.

(cherry picked from commit 2a6f1527f6b3080c3879e6159424b824c86801a7)
lisp/progmodes/cc-mode.el