diff options
Diffstat (limited to 'src/value.c')
-rw-r--r-- | src/value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.c b/src/value.c index 289aa0f..e2b9b32 100644 --- a/src/value.c +++ b/src/value.c @@ -133,7 +133,7 @@ static char *symbol_string(char *symbol, char *buf, size_t buf_sz) #define MANAGE_LITERAL_TBL(X, literal) \ /* X(type, how to free how to print) */ \ - X(LITERAL_STRING, free(literal->string), EX("%s", literal->string)) \ + X(LITERAL_STRING, free(literal->string), EX("\"%s\"", literal->string)) \ X(LITERAL_NUM_INT, ;, EX("%ld", literal->num_int)) \ X(LITERAL_NUM_FLOAT, ;, EX("%f", literal->num_float)) |