Subject: bug#24533: 25.1; `c-token-at-point` wrong on floating point values

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 30 Nov 2020 13:21:59 +0100

Mohammed Sadik <[email-masked]> writes:

> c-token-at-point doesn't returns the right value when the point
> is on floating point numbers.
>
> Eg. In the following statement, if I try to get the value of
> `c-token-at-point` I get "55" ('|' is the point). But "23.55" is the
> right value.
>
> double length;
> length = 23.5|5;

(This bug report unfortunately got no response at the time.)

`c-token-at-point' doesn't seem to exist in Emacs 26 (or later
versions), and a cursory look at the commit logs doesn't find anything
about that either.

Is this a function in Emacs, or from an external package?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no