aboutsummaryrefslogtreecommitdiff
path: root/src/value.c
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2024-01-02 16:06:45 +0200
committerkartofen <mladenovnasko0@gmail.com>2024-01-02 16:06:45 +0200
commitc837b2bb4ea71cedb434260b11c9f356e8b34e2d (patch)
treed8d0b5bc5e6831b75e0d71395326e0e206c1bf43 /src/value.c
parent536f787c627e3a2b245e529345b948dc4631817f (diff)
things
Diffstat (limited to 'src/value.c')
-rw-r--r--src/value.c2
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))