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 | 8ab4b4f4c1040c648b38fd9d0142f09b19ba649e (patch) | |
tree | 09b9dcc8265be3412123f1b216d19ccf4b4f9e2c /src | |
parent | 20fd5a0c28f49618218d3c8d43c742fbab68edf0 (diff) |
Fixed generating xcode4 projects with preprocessor definitions including quotes
Diffstat (limited to 'src')
-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 |