diff --git a/kin/grammar/PBXProj.g4 b/kin/grammar/PBXProj.g4 index 91112de..39c560c 100644 --- a/kin/grammar/PBXProj.g4 +++ b/kin/grammar/PBXProj.g4 @@ -34,6 +34,7 @@ objects : OBJECTS '=' '{' pbx_aggregate_target_section? pbx_build_file_section? + pbx_build_style_section? pbx_container_item_proxy_section? pbx_copy_files_build_phase_section? pbx_file_reference_section @@ -71,6 +72,10 @@ pbx_build_file_section : (pbx_build_file)+ ; +pbx_build_style_section + : (pbx_build_style)+ + ; + pbx_container_item_proxy_section : (pbx_container_item_proxy)+ ; @@ -176,6 +181,14 @@ pbx_build_file '}' ';' ; +pbx_build_style + : REFERENCE '=' '{' + isa_pbx_build_style + build_settings + name + '}' ';' + ; + pbx_container_item_proxy : REFERENCE '=' '{' isa_pbx_container_item_proxy @@ -289,7 +302,8 @@ pbx_project attributes? build_configuration_list build_settings? - compatibility_version + compatibility_version? + build_styles? development_region? has_scanned_for_encodings known_regions? @@ -298,7 +312,7 @@ pbx_project product_ref_group? project_dir_path project_references? - project_root + project_root? targets '}' ';' ; @@ -428,6 +442,10 @@ isa_pbx_build_file : ISA '=' PBX_BUILD_FILE ';' ; +isa_pbx_build_style + : ISA '=' PBX_BUILD_STYLE ';' + ; + isa_pbx_container_item_proxy : ISA '=' PBX_CONTAINER_ITEM_PROXY ';' ; @@ -876,6 +894,10 @@ build_settings '}' ';' ; +build_styles + : BUILD_STYLES '=' reference_list ';' + ; + dst_path : DST_PATH '=' any_string ';' ; @@ -956,6 +978,7 @@ any_token | ROOT_OBJECT | PBX_AGGREGATE_TARGET | PBX_BUILD_FILE + | PBX_BUILD_STYLE | PBX_CONTAINER_ITEM_PROXY | PBX_COPY_FILES_BUILD_PHASE | PBX_FILE_REFERENCE @@ -1085,6 +1108,7 @@ SLASH: '/'; UNDERSCORE: '_'; PBX_AGGREGATE_TARGET: 'PBXAggregateTarget'; PBX_BUILD_FILE: 'PBXBuildFile'; +PBX_BUILD_STYLE: 'PBXBuildStyle'; PBX_CONTAINER_ITEM_PROXY: 'PBXContainerItemProxy'; PBX_COPY_FILES_BUILD_PHASE: 'PBXCopyFilesBuildPhase'; PBX_FILE_REFERENCE: 'PBXFileReference'; @@ -1187,6 +1211,7 @@ FILE_TYPE : 'fileType'; REMOTE_REF : 'remoteRef'; BASE_CONFIGURATION_REFERENCE : 'baseConfigurationReference'; BUILD_SETTINGS : 'buildSettings'; +BUILD_STYLES : 'buildStyles'; DST_PATH : 'dstPath'; DST_SUBFOLDER_SPEC : 'dstSubfolderSpec'; PRODUCT_GROUP : 'ProductGroup';