GNU bug report logs - #24533
25.1; `c-token-at-point` wrong on floating point values

Previous Next

Packages: cc-mode, emacs;

Reported by: Mohammed Sadik <sadiqpkp <at> gmail.com>

Date: Sun, 25 Sep 2016 01:50:02 UTC

Severity: normal

Tags: moreinfo, notabug

Found in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mohammed Sadik <sadiqpkp <at> gmail.com>
Cc: 24533 <at> debbugs.gnu.org
Subject: bug#24533: 25.1; `c-token-at-point` wrong on floating point values
Date: Mon, 30 Nov 2020 13:21:59 +0100
Mohammed Sadik <sadiqpkp <at> 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




This bug report was last modified 4 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.