bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars Ingebrigtsen
Subject: bug#24533: 25.1; `c-token-at-point` wrong on floating point values
Date: Mon, 30 Nov 2020 13:21:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Mohammed Sadik <sadiqpkp@gmail.com> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]