shithub: femtolisp

Download patch

ref: a7c0396a2f86ab8df652e8d8b2c80d2ce19d5b46
parent: a39e4f366debdc845fd76f162a9865b84f22c003
author: Jeff Bezanson <bezanson@post.harvard.edu>
date: Tue Feb 21 07:33:35 EST 2012

setting numeric locale to "C" to make sure literals are parsed correctly

--- a/flisp.c
+++ b/flisp.c
@@ -2235,6 +2235,7 @@
     int i;
 
     llt_init();
+    setlocale(LC_NUMERIC, "C");
 
     heapsize = initial_heapsize;