Fix a typo in MR_escape_string_quote.

runtime/mercury_string.c:
    s/b/v/ in a spot.

tests/hard_coded/deconstruct_arg.exp:
tests/hard_coded/deconstruct_arg.exp2:
    Conform to the above change.
This commit is contained in:
Julien Fischer
2018-07-29 12:42:30 +00:00
parent 154c2911b9
commit 92802b9ad7
3 changed files with 7 additions and 7 deletions

View File

@@ -212,7 +212,7 @@ MR_escape_string_quote(MR_String *ptr, const char * string)
break;
case '\v':
dst[0] = '\\';
dst[1] = 'b';
dst[1] = 'v';
dst += 2;
break;
case '\"':