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

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

bug#48678: [PATCH] lex floats with trailing dot and exponent correctly


From: Lars Ingebrigtsen
Subject: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly
Date: Thu, 27 May 2021 00:13:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Obviously this doesn't apply to 1.e6 which any sane person agrees is
>> the float 1.0e+6 (including Common Lisp).
>> 
>> The attached patch fixes this bug.
>
> Brace for massive breakage.

Yes, it's a rather scary change -- people will have code that sloppily
parses noisy things like "1foo" and expect to get a 1 out, and ".e6"
could well be noise that they expect to have ignored.

So I'm sceptical.

-- 
(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]