pbxproj-dom
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "pbxproj-dom", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -173,16 +173,18 @@ /* | ||
peg$c28 = peg$literalExpectation("\\\"", false), | ||
peg$c29 = "\\n", | ||
peg$c30 = peg$literalExpectation("\\n", false), | ||
peg$c31 = function(s1, content) { return new ast.StringBlock(s1, content); }, | ||
peg$c32 = function(content) { return new ast.Space(content); }, | ||
peg$c33 = /^[ \t\n\r]/, | ||
peg$c34 = peg$classExpectation([" ", "\t", "\n", "\r"], false, false), | ||
peg$c35 = function(ws) { return new ast.WhiteSpace(ws); }, | ||
peg$c36 = "/*", | ||
peg$c37 = peg$literalExpectation("/*", false), | ||
peg$c38 = /^[^*]/, | ||
peg$c39 = peg$classExpectation(["*"], true, false), | ||
peg$c40 = "*/", | ||
peg$c41 = peg$literalExpectation("*/", false), | ||
peg$c42 = function(content) { return new ast.CommentBlock(content); }, | ||
peg$c29 = "\\'", | ||
peg$c30 = peg$literalExpectation("\\'", false), | ||
peg$c31 = "\\n", | ||
peg$c32 = peg$literalExpectation("\\n", false), | ||
peg$c33 = function(s1, content) { return new ast.StringBlock(s1, content); }, | ||
peg$c34 = function(content) { return new ast.Space(content); }, | ||
peg$c35 = /^[ \t\n\r]/, | ||
peg$c36 = peg$classExpectation([" ", "\t", "\n", "\r"], false, false), | ||
peg$c37 = function(ws) { return new ast.WhiteSpace(ws); }, | ||
peg$c38 = "/*", | ||
peg$c39 = peg$literalExpectation("/*", false), | ||
peg$c40 = /^[^*]/, | ||
peg$c41 = peg$classExpectation(["*"], true, false), | ||
peg$c42 = "*/", | ||
peg$c43 = peg$literalExpectation("*/", false), | ||
peg$c44 = function(content) { return new ast.CommentBlock(content); }, | ||
@@ -692,2 +694,11 @@ peg$currPos = 0, | ||
} | ||
if (s5 === peg$FAILED) { | ||
if (input.substr(peg$currPos, 2) === peg$c31) { | ||
s5 = peg$c31; | ||
peg$currPos += 2; | ||
} else { | ||
s5 = peg$FAILED; | ||
if (peg$silentFails === 0) { peg$fail(peg$c32); } | ||
} | ||
} | ||
} | ||
@@ -720,2 +731,11 @@ } | ||
} | ||
if (s5 === peg$FAILED) { | ||
if (input.substr(peg$currPos, 2) === peg$c31) { | ||
s5 = peg$c31; | ||
peg$currPos += 2; | ||
} else { | ||
s5 = peg$FAILED; | ||
if (peg$silentFails === 0) { peg$fail(peg$c32); } | ||
} | ||
} | ||
} | ||
@@ -739,3 +759,3 @@ } | ||
peg$savedPos = s0; | ||
s1 = peg$c31(s1, s3); | ||
s1 = peg$c33(s1, s3); | ||
s0 = s1; | ||
@@ -780,3 +800,3 @@ } else { | ||
peg$savedPos = s0; | ||
s1 = peg$c32(s1); | ||
s1 = peg$c34(s1); | ||
} | ||
@@ -794,3 +814,3 @@ s0 = s1; | ||
s2 = []; | ||
if (peg$c33.test(input.charAt(peg$currPos))) { | ||
if (peg$c35.test(input.charAt(peg$currPos))) { | ||
s3 = input.charAt(peg$currPos); | ||
@@ -800,3 +820,3 @@ peg$currPos++; | ||
s3 = peg$FAILED; | ||
if (peg$silentFails === 0) { peg$fail(peg$c34); } | ||
if (peg$silentFails === 0) { peg$fail(peg$c36); } | ||
} | ||
@@ -806,3 +826,3 @@ if (s3 !== peg$FAILED) { | ||
s2.push(s3); | ||
if (peg$c33.test(input.charAt(peg$currPos))) { | ||
if (peg$c35.test(input.charAt(peg$currPos))) { | ||
s3 = input.charAt(peg$currPos); | ||
@@ -812,3 +832,3 @@ peg$currPos++; | ||
s3 = peg$FAILED; | ||
if (peg$silentFails === 0) { peg$fail(peg$c34); } | ||
if (peg$silentFails === 0) { peg$fail(peg$c36); } | ||
} | ||
@@ -826,3 +846,3 @@ } | ||
peg$savedPos = s0; | ||
s1 = peg$c35(s1); | ||
s1 = peg$c37(s1); | ||
} | ||
@@ -838,8 +858,8 @@ s0 = s1; | ||
s0 = peg$currPos; | ||
if (input.substr(peg$currPos, 2) === peg$c36) { | ||
s1 = peg$c36; | ||
if (input.substr(peg$currPos, 2) === peg$c38) { | ||
s1 = peg$c38; | ||
peg$currPos += 2; | ||
} else { | ||
s1 = peg$FAILED; | ||
if (peg$silentFails === 0) { peg$fail(peg$c37); } | ||
if (peg$silentFails === 0) { peg$fail(peg$c39); } | ||
} | ||
@@ -849,3 +869,3 @@ if (s1 !== peg$FAILED) { | ||
s3 = []; | ||
if (peg$c38.test(input.charAt(peg$currPos))) { | ||
if (peg$c40.test(input.charAt(peg$currPos))) { | ||
s4 = input.charAt(peg$currPos); | ||
@@ -855,7 +875,7 @@ peg$currPos++; | ||
s4 = peg$FAILED; | ||
if (peg$silentFails === 0) { peg$fail(peg$c39); } | ||
if (peg$silentFails === 0) { peg$fail(peg$c41); } | ||
} | ||
while (s4 !== peg$FAILED) { | ||
s3.push(s4); | ||
if (peg$c38.test(input.charAt(peg$currPos))) { | ||
if (peg$c40.test(input.charAt(peg$currPos))) { | ||
s4 = input.charAt(peg$currPos); | ||
@@ -865,3 +885,3 @@ peg$currPos++; | ||
s4 = peg$FAILED; | ||
if (peg$silentFails === 0) { peg$fail(peg$c39); } | ||
if (peg$silentFails === 0) { peg$fail(peg$c41); } | ||
} | ||
@@ -875,12 +895,12 @@ } | ||
if (s2 !== peg$FAILED) { | ||
if (input.substr(peg$currPos, 2) === peg$c40) { | ||
s3 = peg$c40; | ||
if (input.substr(peg$currPos, 2) === peg$c42) { | ||
s3 = peg$c42; | ||
peg$currPos += 2; | ||
} else { | ||
s3 = peg$FAILED; | ||
if (peg$silentFails === 0) { peg$fail(peg$c41); } | ||
if (peg$silentFails === 0) { peg$fail(peg$c43); } | ||
} | ||
if (s3 !== peg$FAILED) { | ||
peg$savedPos = s0; | ||
s1 = peg$c42(s2); | ||
s1 = peg$c44(s2); | ||
s0 = s1; | ||
@@ -887,0 +907,0 @@ } else { |
@@ -11,2 +11,3 @@ var ast = require("./parser"); | ||
"tests/proj1.pbxproj", | ||
"tests/proj2.pbxproj", | ||
"tests/signing-style/manual.pbxproj", | ||
@@ -13,0 +14,0 @@ "tests/signing-style/automatic.pbxproj" |
@@ -115,3 +115,2 @@ var parser = require("./parser"); | ||
var config = _e[_d]; | ||
// {team, uuid, name, identity} | ||
var buildSettings = config.ast.get("buildSettings"); | ||
@@ -118,0 +117,0 @@ var uuid = buildSettings.get("PROVISIONING_PROFILE").text; |
Sorry, the diff of this file is not supported yet
78058
1928