diff --git a/librz/core/cmd_descs/cmd_descs.c b/librz/core/cmd_descs/cmd_descs.c index 99ed1455433..986f4f2fb9e 100644 --- a/librz/core/cmd_descs/cmd_descs.c +++ b/librz/core/cmd_descs/cmd_descs.c @@ -1326,7 +1326,7 @@ static const RzCmdDescArg interpret_macro_multiple_args[] = { }, { .name = "macro-arg-set", - .type = RZ_CMD_ARG_TYPE_STRING, + .type = RZ_CMD_ARG_TYPE_RAW, .flags = RZ_CMD_ARG_FLAG_ARRAY, .optional = true, diff --git a/librz/core/cmd_descs/cmd_interpret.yaml b/librz/core/cmd_descs/cmd_interpret.yaml index 88b931da0c4..27ed0b758cb 100644 --- a/librz/core/cmd_descs/cmd_interpret.yaml +++ b/librz/core/cmd_descs/cmd_interpret.yaml @@ -66,7 +66,7 @@ commands: type: RZ_CMD_ARG_TYPE_MACRO no_space: true - name: macro-arg-set - type: RZ_CMD_ARG_TYPE_STRING + type: RZ_CMD_ARG_TYPE_RAW flags: RZ_CMD_ARG_FLAG_ARRAY optional: true - name: ) diff --git a/test/db/cmd/write b/test/db/cmd/write index 03deb43d5e7..bc838e38547 100644 --- a/test/db/cmd/write +++ b/test/db/cmd/write @@ -463,6 +463,7 @@ $new_addr=%v \`$addr\`+16 .(wz16 "c `%vi 123+1` d") .(wz16 \`) .(wz16 "e \` f") +..(wz16 \# "g \# h" "i \" j") EOF EXPECT=<