diff --git a/kin/grammar/PBXProj.g4 b/kin/grammar/PBXProj.g4 index ec54f44..2f611ac 100644 --- a/kin/grammar/PBXProj.g4 +++ b/kin/grammar/PBXProj.g4 @@ -214,6 +214,7 @@ pbx_file_reference : REFERENCE '=' '{' isa_pbx_file_reference comments? + file_encoding? explicit_file_type? file_encoding? include_in_index? diff --git a/tests/ok/015.pbxproj b/tests/ok/015.pbxproj new file mode 100644 index 0000000..0859cf0 --- /dev/null +++ b/tests/ok/015.pbxproj @@ -0,0 +1,16 @@ +{ + archiveVersion = 1; + classes = {}; + objectVersion = 46; + objects = { + 2C18F0B415DC1DC700593670 = {isa = PBXFileReference; fileEncoding = 4; explicitFileType = sourcecode.c.c; path = CMakeCCompilerId.c; sourceTree = ""; }; + FE870E28DC2371E7ACA886F03F460581 = {isa = PBXFileReference; explicitFileType = text.xcconfig; name = "Something.xcconfig"; path = "Configurations/Something.xcconfig"; sourceTree = ""; }; + 78452DDA02BFEF5D6BA29AEFB4B1266A = {isa = PBXGroup; children = (FE870E28DC2371E7ACA886F03F460581,); name = Configurations; sourceTree = ""; }; + 49FBBF861C10C2A200A1A4BB = {isa = PBXProject; buildConfigurationList = 49FBBF891C10C2A200A1A4BB; compatibilityVersion = "Xcode 3.2"; hasScannedForEncodings = 0; mainGroup = 49FBBF851C10C2A200A1A4BB; productRefGroup = 49FBBF8F1C10C2A200A1A4BB; projectDirPath = ""; projectRoot = ""; targets = (49FBBF8D1C10C2A200A1A4BB, 4973659B1C19BC6E00837617,); }; + 49FBBF951C10C2A200A1A4BB = {isa = PBXVariantGroup; children = (49FBBF961C10C2A200A1A4BB,); name = Main.storyboard; sourceTree = ""; }; + 49FBBF9A1C10C2A200A1A4BB = {isa = PBXVariantGroup; children = (49FBBF9B1C10C2A200A1A4BB,); name = LaunchScreen.storyboard; sourceTree = ""; }; + 497365A41C19BC6E00837617 = {isa = XCBuildConfiguration; baseConfigurationReference = 274E42B0193BA6FEFA8FD71C; buildSettings = { FRAMEWORK_SEARCH_PATHS = ("$(inherited)", "$(PROJECT_DIR)/build/Debug-iphoneos",); }; name = Debug; }; + 49FBBFB61C10C2A200A1A4BB = {isa = XCConfigurationList; buildConfigurations = (49FBBFB71C10C2A200A1A4BB, 49FBBFB81C10C2A200A1A4BB,); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + }; + rootObject = 49FBBF861C10C2A200A1A4BB; +}