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

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

bug#679: 23.0.60; Function json-read-number does not handle complete Jav


From: Edward O'Connor
Subject: bug#679: 23.0.60; Function json-read-number does not handle complete Javascript spec
Date: Mon, 18 Aug 2008 22:37:27 -0700

> Here's an improved version: Besides recognizing the D. and .D number
> forms mentioned in the original bug report, and the positive signed
> forms mentioned in my first response, it also
>
> (a) recognizes hexadecimal and octal integers per
> http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Literals#Integers

JSON disallows octal and hexadecimal notation...

> I hope you'll use it.

I've attached a modified version, which disallows octal & hexadecimal.


Thanks,
Ted

Attachment: json-number.diff
Description: Binary data


reply via email to

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