diff options
author | Oliver Kuckertz <oliver.kuckertz@mologie.de> | 2013-06-13 20:24:10 +0400 |
---|---|---|
committer | Oliver Kuckertz <oliver.kuckertz@mologie.de> | 2013-06-13 20:24:10 +0400 |
commit | 94dcfca1d70871257e6f83b88250fd994a68282a (patch) | |
tree | 09b9dcc8265be3412123f1b216d19ccf4b4f9e2c | |
parent | 2a5dae5db1ca37dbe2fd407dc28f6a41f5b40f23 (diff) |
Fixed generating xcode4 projects with preprocessor definitions including quotes
--HG--
branch : macosx-quotes
-rw-r--r-- | src/actions/xcode/xcode_common.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/xcode/xcode_common.lua b/src/actions/xcode/xcode_common.lua index b9f67de..2e3d0a6 100644 --- a/src/actions/xcode/xcode_common.lua +++ b/src/actions/xcode/xcode_common.lua @@ -224,7 +224,8 @@ if #list > 0 then _p(4,'%s = (', tag) for _, item in ipairs(list) do - _p(5, '"%s",', item) + local escaped_item = item:gsub("\"", "\\\"") + _p(5, '"%s",', escaped_item) end _p(4,');') end |