[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
json-number.diff
Description: Binary data
bug#679: 23.0.60; Function json-read-number does not handle complete Javascript spec, OFFICE ZERO, 2008/08/09
bug#679: 23.0.60; Function json-read-number does not handle complete Javascript spec, Kevin Rodgers, 2008/08/12
bug#679: marked as done (23.0.60; Function json-read-number does not handle complete Javascript spec), Emacs bug Tracking System, 2008/08/28