Skip to content

Commit 45d4cfa

Browse files
committed
[parser] fix regression on comments
1 parent e11cc27 commit 45d4cfa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/parser/pbxproj.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/parser/pbxproj.pegjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ CommentedAssignment
7070
commentKey = commentedId.id + '_comment';
7171

7272
result[commentedId.id] = val;
73-
result[commentKey] = commentedId.comment;
73+
result[commentKey] = commentedId[commentKey];
7474
return result;
75+
7576
}
7677
/
7778
id:Identifier _ "=" _ commentedVal:CommentedValue ";"

0 commit comments

Comments
 (0)