+2008-08-05 Jay Belanger <jay.p.belanger@gmail.com>
+
+ * calc/calc.el (math-read-number): Handle all C-like languages
+ properly.
+
+2008-08-04 Vincent Belaïche <vincent.b.1@hotmail.fr>
+
+ * calc/calc.el (math-read-number): Handle C numbers beginning with
+ 0 correctly.
+
2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com>
* term/ns-win.el ([ns-new-frame]): New global key.
;; Integers (most common case)
((string-match "\\` *\\([0-9]+\\) *\\'" s)
(let ((digs (math-match-substring s 1)))
- (if (and (eq calc-language 'c)
+ (if (and (memq calc-language calc-lang-c-type-hex)
(> (length digs) 1)
(eq (aref digs 0) ?0)
(null decimal))