Do not add 0 byte at the string end in scan_string if it is arleady there.
@@ -4244,6 +4244,7 @@ static void scan_string (MIR_context_t ctx, token_t *t, int c, int get_char (MIR
}
VARR_PUSH (char, temp_string, c);
}
+ if (VARR_LENGTH (char, temp_string) > 0 && VARR_LAST (char, temp_string) != 0)
VARR_PUSH (char, temp_string, 0);
t->code = TC_STR;
t->u.str
