diff src/eval.c @ 15515:99a4cc4782ac v8.1.0765

patch 8.1.0765: string format of a Blob can't be parsed back commit https://github.com/vim/vim/commit/4131fd5509b283e978e8c6161f09643b64719787 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 17 16:32:53 2019 +0100 patch 8.1.0765: string format of a Blob can't be parsed back Problem: String format of a Blob can't be parsed back. Solution: Use 0z format.
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jan 2019 16:45:06 +0100
parents f1c33409e908
children 2ad5f0ffaa2e
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -4258,6 +4258,8 @@ eval7(
 			if (blob != NULL)
 			    ga_append(&blob->bv_ga,
 					 (hex2nr(*bp) << 4) + hex2nr(*(bp+1)));
+			if (bp[2] == '.' && vim_isxdigit(bp[3]))
+			    ++bp;
 		    }
 		    if (blob != NULL)
 			rettv_blob_set(rettv, blob);