-
-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add inline comments support to the
xcconfig
parser (#604)
* Update xcconfig test data with comment examples * Adjust unit-tests for xcconfig * Update settingRegex regular expression with comments support * Fix comment spelling * Add an edge-case test when a comment has to space * Add CHANGELOG.md entry for the PR
- Loading branch information
Showing
5 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#include "Parent.xcconfig" | ||
|
||
CONFIGURATION_BUILD_DIR = Test/ | ||
CONFIGURATION_BUILD_DIR = Test/ // NOTE: Test comment line to check several slashes | ||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) | ||
WARNING_CFLAGS = -Wall -Wno-direct-ivar-access -Wno-objc-missing-property-synthesis -Wno-readonly-iboutlet-property -Wno-switch-enum -Wno-padded | ||
WARNING_CFLAGS = -Wall -Wno-direct-ivar-access -Wno-objc-missing-property-synthesis -Wno-readonly-iboutlet-property -Wno-switch-enum -Wno-padded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
// NOTE: Top level comment | ||
OTHER_SWIFT_FLAGS_XCODE_0821 = $(inherited) | ||
OTHER_SWIFT_FLAGS_XCODE_0830 = $(inherited) -enable-bridging-pch | ||
OTHER_SWIFT_FLAGS_XCODE_0830 = $(inherited) -enable-bridging-pch | ||
PRODUCT_NAME = $(TARGET_NAME) // NOTE: Test Comment | ||
SWIFT_OPTIMIZATION_LEVEL = -Onone// Edge-case when a comment has no space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters