From c837b2bb4ea71cedb434260b11c9f356e8b34e2d Mon Sep 17 00:00:00 2001 From: kartofen Date: Tue, 2 Jan 2024 16:06:45 +0200 Subject: things --- src/value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/value.c') 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)) -- cgit v1.2.3