Skip to content

Commit

Permalink
Add support for new PBXFileSystemSynchronizedBuildFileExceptionSet se…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
Serchinastico committed Nov 19, 2024
1 parent 174215c commit e5a4b28
Show file tree
Hide file tree
Showing 9 changed files with 5,249 additions and 4,218 deletions.
23 changes: 23 additions & 0 deletions kin/grammar/PBXProj.g4
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ objects
pbx_container_item_proxy_section?
pbx_copy_files_build_phase_section?
pbx_file_reference_section?
pbx_file_system_synchronized_build_file_exception_set_section?
pbx_frameworks_build_phase_section?
pbx_group_section
pbx_headers_build_phase_section?
Expand Down Expand Up @@ -94,6 +95,10 @@ pbx_file_reference_section
: (pbx_file_reference)+
;

pbx_file_system_synchronized_build_file_exception_set_section
: (pbx_file_system_synchronized_build_file_exception_set)+
;

pbx_frameworks_build_phase_section
: (pbx_frameworks_build_phase)+
;
Expand Down Expand Up @@ -259,6 +264,14 @@ pbx_file_reference
'}' ';'
;

pbx_file_system_synchronized_build_file_exception_set
: REFERENCE '=' '{'
isa_pbx_file_system_synchronized_build_file_exception_set
membership_exceptions
target
'}' ';'
;

pbx_frameworks_build_phase
: REFERENCE '=' '{'
isa_pbx_frameworks_build_phase
Expand Down Expand Up @@ -508,6 +521,10 @@ isa_pbx_file_reference
: ISA '=' PBX_FILE_REFERENCE ';'
;

isa_pbx_file_system_synchronized_build_file_exception_set
: ISA '=' PBX_FILE_SYSTEM_SYNCHRONIZED_BUILD_FILE_EXCEPTION_SET ';'
;

isa_pbx_frameworks_build_phase
: ISA '=' PBX_FRAMEWORKS_BUILD_PHASE ';'
;
Expand Down Expand Up @@ -1007,6 +1024,9 @@ project_references_list_element
'}' ','
;

membership_exceptions
: MEMBERSHIP_EXCEPTIONS '=' any_string_list ';';

key_value
: str_number_variable '=' str_number_variable ';'
| str_number_variable '=' NUMBER ';'
Expand Down Expand Up @@ -1074,6 +1094,7 @@ any_token
| PBX_CONTAINER_ITEM_PROXY
| PBX_COPY_FILES_BUILD_PHASE
| PBX_FILE_REFERENCE
| PBX_FILE_SYSTEM_SYNCHRONIZED_BUILD_FILE_EXCEPTION_SET
| PBX_FRAMEWORKS_BUILD_PHASE
| PBX_NATIVE_TARGET
| PBX_LEGACY_TARGET
Expand Down Expand Up @@ -1215,6 +1236,7 @@ PBX_BUILD_STYLE: 'PBXBuildStyle';
PBX_CONTAINER_ITEM_PROXY: 'PBXContainerItemProxy';
PBX_COPY_FILES_BUILD_PHASE: 'PBXCopyFilesBuildPhase';
PBX_FILE_REFERENCE: 'PBXFileReference';
PBX_FILE_SYSTEM_SYNCHRONIZED_BUILD_FILE_EXCEPTION_SET: 'PBXFileSystemSynchronizedBuildFileExceptionSet';
PBX_FRAMEWORKS_BUILD_PHASE: 'PBXFrameworksBuildPhase';
PBX_GROUP: 'PBXGroup';
PBX_HEADERS_BUILD_PHASE: 'PBXHeadersBuildPhase';
Expand Down Expand Up @@ -1336,6 +1358,7 @@ SETTINGS : 'settings';
SYSTEM_CAPABILITIES : 'SystemCapabilities';
CURRENT_VERSION : 'currentVersion';
VERSION_GROUP_TYPE : 'versionGroupType';
MEMBERSHIP_EXCEPTIONS : 'membershipExceptions';
CLASSPREFIX : 'CLASSPREFIX';


Expand Down
10 changes: 9 additions & 1 deletion kin/grammar/PBXProj.interp

Large diffs are not rendered by default.

Loading

0 comments on commit e5a4b28

Please sign in to comment.