[Lldb-commits] [PATCH] Fix handling of backslashes in Args parsing

Pavel Labath labath at google.com
Wed Feb 25 02:39:07 PST 2015


Greg, a quick question as your example seems to indicate the opposite behavior of what I propose here:
a) current code: "a b\" c" -> 'a b\" c'
b) my patch: "a b\" c" -> 'a b\' 'c'   (aka bash single quote)
c) your example: "a b\" c" -> 'a b" c' (aka bash double quote)

Which behavior do we want? I am fine with (b) or (c), but I found (a) confusing, hence the patch. We could even go more bash-like and have " work like (b) and ' like (c).

Or do you not care? :)


http://reviews.llvm.org/D7855

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list