|
|
| version 1.4, 2010/09/20 02:22:35 | version 1.5, 2013/07/21 14:02:05 |
|---|---|
| Line 63 SOFTWARE. | Line 63 SOFTWARE. |
| #include <assert.h> | |
| #include <ctype.h> | |
| #include <float.h> | |
| #include <stddef.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <locale.h> | |
| #include "JSON_parser.h" | #include "JSON_parser.h" |
| #include "pa_memory.h" | #include "pa_memory.h" |
| #ifdef _MSC_VER | #ifdef _MSC_VER |
| Line 509 new_JSON_parser(JSON_config* config) | Line 499 new_JSON_parser(JSON_config* config) |
| jc->handle_floats_manually = (signed char)config->handle_floats_manually != 0; | jc->handle_floats_manually = (signed char)config->handle_floats_manually != 0; |
| /* set up decimal point */ | /* set up decimal point */ |
| jc->decimal_point = *localeconv()->decimal_point; | jc->decimal_point = '.'; |
| return jc; | return jc; |
| } | } |