diff options
-rw-r--r-- | .gitignore | 66 | ||||
-rw-r--r-- | MoonPlus.xcodeproj/project.pbxproj | 323 | ||||
-rw-r--r-- | MoonPlus.xcodeproj/project.xcworkspace/contents.xcworkspacedata | 7 | ||||
-rw-r--r-- | MoonPlus.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist | 8 | ||||
-rw-r--r-- | src/moonc.cpp | 2 |
5 files changed, 4 insertions, 402 deletions
@@ -1,63 +1,3 @@ | |||
1 | # Xcode | 1 | moonc |
2 | # | 2 | build |
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | 3 | spec/outputs |
4 | |||
5 | ## Build generated | ||
6 | build/ | ||
7 | DerivedData/ | ||
8 | |||
9 | ## Various settings | ||
10 | *.pbxuser | ||
11 | !default.pbxuser | ||
12 | *.mode1v3 | ||
13 | !default.mode1v3 | ||
14 | *.mode2v3 | ||
15 | !default.mode2v3 | ||
16 | *.perspectivev3 | ||
17 | !default.perspectivev3 | ||
18 | xcuserdata/ | ||
19 | |||
20 | ## Other | ||
21 | *.moved-aside | ||
22 | *.xccheckout | ||
23 | *.xcscmblueprint | ||
24 | |||
25 | ## Obj-C/Swift specific | ||
26 | *.hmap | ||
27 | *.ipa | ||
28 | *.dSYM.zip | ||
29 | *.dSYM | ||
30 | |||
31 | # CocoaPods | ||
32 | # | ||
33 | # We recommend against adding the Pods directory to your .gitignore. However | ||
34 | # you should judge for yourself, the pros and cons are mentioned at: | ||
35 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
36 | # | ||
37 | # Pods/ | ||
38 | |||
39 | # Carthage | ||
40 | # | ||
41 | # Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
42 | # Carthage/Checkouts | ||
43 | |||
44 | Carthage/Build | ||
45 | |||
46 | # fastlane | ||
47 | # | ||
48 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the | ||
49 | # screenshots whenever they are needed. | ||
50 | # For more information about the recommended setup visit: | ||
51 | # https://docs.fastlane.tools/best-practices/source-control/#source-control | ||
52 | |||
53 | fastlane/report.xml | ||
54 | fastlane/Preview.html | ||
55 | fastlane/screenshots | ||
56 | fastlane/test_output | ||
57 | |||
58 | # Code Injection | ||
59 | # | ||
60 | # After new code Injection tools there's a generated folder /iOSInjectionProject | ||
61 | # https://github.com/johnno1962/injectionforxcode | ||
62 | |||
63 | iOSInjectionProject/ | ||
diff --git a/MoonPlus.xcodeproj/project.pbxproj b/MoonPlus.xcodeproj/project.pbxproj deleted file mode 100644 index 99a51bf..0000000 --- a/MoonPlus.xcodeproj/project.pbxproj +++ /dev/null | |||
@@ -1,323 +0,0 @@ | |||
1 | // !$*UTF8*$! | ||
2 | { | ||
3 | archiveVersion = 1; | ||
4 | classes = { | ||
5 | }; | ||
6 | objectVersion = 46; | ||
7 | objects = { | ||
8 | |||
9 | /* Begin PBXBuildFile section */ | ||
10 | 3C1C21EE2368322900147A19 /* ast.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3C1C21E52368322900147A19 /* ast.cpp */; }; | ||
11 | 3C1C21EF2368322900147A19 /* moon_ast.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3C1C21E62368322900147A19 /* moon_ast.cpp */; }; | ||
12 | 3C1C21F02368322900147A19 /* moon_compiler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3C1C21E92368322900147A19 /* moon_compiler.cpp */; }; | ||
13 | 3C1C21F12368322900147A19 /* parser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3C1C21EA2368322900147A19 /* parser.cpp */; }; | ||
14 | 3C1C21F22368322900147A19 /* moon_parser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3C1C21EB2368322900147A19 /* moon_parser.cpp */; }; | ||
15 | 3C1C21F32368322900147A19 /* moonc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3C1C21ED2368322900147A19 /* moonc.cpp */; }; | ||
16 | /* End PBXBuildFile section */ | ||
17 | |||
18 | /* Begin PBXCopyFilesBuildPhase section */ | ||
19 | 3C0F0F6A1EF3781E000EADDB /* CopyFiles */ = { | ||
20 | isa = PBXCopyFilesBuildPhase; | ||
21 | buildActionMask = 2147483647; | ||
22 | dstPath = /usr/share/man/man1/; | ||
23 | dstSubfolderSpec = 0; | ||
24 | files = ( | ||
25 | ); | ||
26 | runOnlyForDeploymentPostprocessing = 1; | ||
27 | }; | ||
28 | /* End PBXCopyFilesBuildPhase section */ | ||
29 | |||
30 | /* Begin PBXFileReference section */ | ||
31 | 3C0F0F6C1EF3781E000EADDB /* MoonPlusPlus */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = MoonPlusPlus; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
32 | 3C1C21E32368322900147A19 /* parser.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = parser.hpp; sourceTree = "<group>"; }; | ||
33 | 3C1C21E42368322900147A19 /* moon_compiler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = moon_compiler.h; sourceTree = "<group>"; }; | ||
34 | 3C1C21E52368322900147A19 /* ast.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ast.cpp; sourceTree = "<group>"; }; | ||
35 | 3C1C21E62368322900147A19 /* moon_ast.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = moon_ast.cpp; sourceTree = "<group>"; }; | ||
36 | 3C1C21E72368322900147A19 /* moon_ast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = moon_ast.h; sourceTree = "<group>"; }; | ||
37 | 3C1C21E82368322900147A19 /* moon_parser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = moon_parser.h; sourceTree = "<group>"; }; | ||
38 | 3C1C21E92368322900147A19 /* moon_compiler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = moon_compiler.cpp; sourceTree = "<group>"; }; | ||
39 | 3C1C21EA2368322900147A19 /* parser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = parser.cpp; sourceTree = "<group>"; }; | ||
40 | 3C1C21EB2368322900147A19 /* moon_parser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = moon_parser.cpp; sourceTree = "<group>"; }; | ||
41 | 3C1C21EC2368322900147A19 /* ast.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = ast.hpp; sourceTree = "<group>"; }; | ||
42 | 3C1C21ED2368322900147A19 /* moonc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = moonc.cpp; sourceTree = "<group>"; }; | ||
43 | /* End PBXFileReference section */ | ||
44 | |||
45 | /* Begin PBXFrameworksBuildPhase section */ | ||
46 | 3C0F0F691EF3781E000EADDB /* Frameworks */ = { | ||
47 | isa = PBXFrameworksBuildPhase; | ||
48 | buildActionMask = 2147483647; | ||
49 | files = ( | ||
50 | ); | ||
51 | runOnlyForDeploymentPostprocessing = 0; | ||
52 | }; | ||
53 | /* End PBXFrameworksBuildPhase section */ | ||
54 | |||
55 | /* Begin PBXGroup section */ | ||
56 | 3C0F0F631EF3781E000EADDB = { | ||
57 | isa = PBXGroup; | ||
58 | children = ( | ||
59 | 3C1C21E12368322900147A19 /* src */, | ||
60 | 3C0F0F6D1EF3781E000EADDB /* Products */, | ||
61 | ); | ||
62 | sourceTree = "<group>"; | ||
63 | }; | ||
64 | 3C0F0F6D1EF3781E000EADDB /* Products */ = { | ||
65 | isa = PBXGroup; | ||
66 | children = ( | ||
67 | 3C0F0F6C1EF3781E000EADDB /* MoonPlusPlus */, | ||
68 | ); | ||
69 | name = Products; | ||
70 | sourceTree = "<group>"; | ||
71 | }; | ||
72 | 3C1C21E12368322900147A19 /* src */ = { | ||
73 | isa = PBXGroup; | ||
74 | children = ( | ||
75 | 3C1C21E22368322900147A19 /* MoonP */, | ||
76 | 3C1C21ED2368322900147A19 /* moonc.cpp */, | ||
77 | ); | ||
78 | path = src; | ||
79 | sourceTree = "<group>"; | ||
80 | }; | ||
81 | 3C1C21E22368322900147A19 /* MoonP */ = { | ||
82 | isa = PBXGroup; | ||
83 | children = ( | ||
84 | 3C1C21E32368322900147A19 /* parser.hpp */, | ||
85 | 3C1C21E42368322900147A19 /* moon_compiler.h */, | ||
86 | 3C1C21E52368322900147A19 /* ast.cpp */, | ||
87 | 3C1C21E62368322900147A19 /* moon_ast.cpp */, | ||
88 | 3C1C21E72368322900147A19 /* moon_ast.h */, | ||
89 | 3C1C21E82368322900147A19 /* moon_parser.h */, | ||
90 | 3C1C21E92368322900147A19 /* moon_compiler.cpp */, | ||
91 | 3C1C21EA2368322900147A19 /* parser.cpp */, | ||
92 | 3C1C21EB2368322900147A19 /* moon_parser.cpp */, | ||
93 | 3C1C21EC2368322900147A19 /* ast.hpp */, | ||
94 | ); | ||
95 | path = MoonP; | ||
96 | sourceTree = "<group>"; | ||
97 | }; | ||
98 | /* End PBXGroup section */ | ||
99 | |||
100 | /* Begin PBXNativeTarget section */ | ||
101 | 3C0F0F6B1EF3781E000EADDB /* MoonPlusPlus */ = { | ||
102 | isa = PBXNativeTarget; | ||
103 | buildConfigurationList = 3C0F0F731EF3781E000EADDB /* Build configuration list for PBXNativeTarget "MoonPlusPlus" */; | ||
104 | buildPhases = ( | ||
105 | 3C0F0F681EF3781E000EADDB /* Sources */, | ||
106 | 3C0F0F691EF3781E000EADDB /* Frameworks */, | ||
107 | 3C0F0F6A1EF3781E000EADDB /* CopyFiles */, | ||
108 | ); | ||
109 | buildRules = ( | ||
110 | ); | ||
111 | dependencies = ( | ||
112 | ); | ||
113 | name = MoonPlusPlus; | ||
114 | productName = PegtlStudy; | ||
115 | productReference = 3C0F0F6C1EF3781E000EADDB /* MoonPlusPlus */; | ||
116 | productType = "com.apple.product-type.tool"; | ||
117 | }; | ||
118 | /* End PBXNativeTarget section */ | ||
119 | |||
120 | /* Begin PBXProject section */ | ||
121 | 3C0F0F641EF3781E000EADDB /* Project object */ = { | ||
122 | isa = PBXProject; | ||
123 | attributes = { | ||
124 | LastUpgradeCheck = 1100; | ||
125 | ORGANIZATIONNAME = "Li Jin"; | ||
126 | TargetAttributes = { | ||
127 | 3C0F0F6B1EF3781E000EADDB = { | ||
128 | CreatedOnToolsVersion = 8.2.1; | ||
129 | ProvisioningStyle = Automatic; | ||
130 | }; | ||
131 | }; | ||
132 | }; | ||
133 | buildConfigurationList = 3C0F0F671EF3781E000EADDB /* Build configuration list for PBXProject "MoonPlusPlus" */; | ||
134 | compatibilityVersion = "Xcode 3.2"; | ||
135 | developmentRegion = en; | ||
136 | hasScannedForEncodings = 0; | ||
137 | knownRegions = ( | ||
138 | en, | ||
139 | Base, | ||
140 | ); | ||
141 | mainGroup = 3C0F0F631EF3781E000EADDB; | ||
142 | productRefGroup = 3C0F0F6D1EF3781E000EADDB /* Products */; | ||
143 | projectDirPath = ""; | ||
144 | projectRoot = ""; | ||
145 | targets = ( | ||
146 | 3C0F0F6B1EF3781E000EADDB /* MoonPlusPlus */, | ||
147 | ); | ||
148 | }; | ||
149 | /* End PBXProject section */ | ||
150 | |||
151 | /* Begin PBXSourcesBuildPhase section */ | ||
152 | 3C0F0F681EF3781E000EADDB /* Sources */ = { | ||
153 | isa = PBXSourcesBuildPhase; | ||
154 | buildActionMask = 2147483647; | ||
155 | files = ( | ||
156 | 3C1C21F12368322900147A19 /* parser.cpp in Sources */, | ||
157 | 3C1C21EE2368322900147A19 /* ast.cpp in Sources */, | ||
158 | 3C1C21F32368322900147A19 /* moonc.cpp in Sources */, | ||
159 | 3C1C21EF2368322900147A19 /* moon_ast.cpp in Sources */, | ||
160 | 3C1C21F02368322900147A19 /* moon_compiler.cpp in Sources */, | ||
161 | 3C1C21F22368322900147A19 /* moon_parser.cpp in Sources */, | ||
162 | ); | ||
163 | runOnlyForDeploymentPostprocessing = 0; | ||
164 | }; | ||
165 | /* End PBXSourcesBuildPhase section */ | ||
166 | |||
167 | /* Begin XCBuildConfiguration section */ | ||
168 | 3C0F0F711EF3781E000EADDB /* Debug */ = { | ||
169 | isa = XCBuildConfiguration; | ||
170 | buildSettings = { | ||
171 | ALWAYS_SEARCH_USER_PATHS = NO; | ||
172 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; | ||
173 | CLANG_ANALYZER_NONNULL = YES; | ||
174 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; | ||
175 | CLANG_CXX_LIBRARY = "libc++"; | ||
176 | CLANG_ENABLE_MODULES = YES; | ||
177 | CLANG_ENABLE_OBJC_ARC = YES; | ||
178 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
179 | CLANG_WARN_BOOL_CONVERSION = YES; | ||
180 | CLANG_WARN_COMMA = YES; | ||
181 | CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
182 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
183 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
184 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
185 | CLANG_WARN_EMPTY_BODY = YES; | ||
186 | CLANG_WARN_ENUM_CONVERSION = YES; | ||
187 | CLANG_WARN_INFINITE_RECURSION = YES; | ||
188 | CLANG_WARN_INT_CONVERSION = YES; | ||
189 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
190 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; | ||
191 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
192 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
193 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
194 | CLANG_WARN_STRICT_PROTOTYPES = YES; | ||
195 | CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
196 | CLANG_WARN_UNREACHABLE_CODE = YES; | ||
197 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
198 | CODE_SIGN_IDENTITY = "-"; | ||
199 | COPY_PHASE_STRIP = NO; | ||
200 | DEBUG_INFORMATION_FORMAT = dwarf; | ||
201 | ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
202 | ENABLE_TESTABILITY = YES; | ||
203 | GCC_C_LANGUAGE_STANDARD = gnu99; | ||
204 | GCC_DYNAMIC_NO_PIC = NO; | ||
205 | GCC_NO_COMMON_BLOCKS = YES; | ||
206 | GCC_OPTIMIZATION_LEVEL = 0; | ||
207 | GCC_PREPROCESSOR_DEFINITIONS = ( | ||
208 | "DEBUG=1", | ||
209 | "$(inherited)", | ||
210 | ); | ||
211 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
212 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
213 | GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
214 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
215 | GCC_WARN_UNUSED_FUNCTION = YES; | ||
216 | GCC_WARN_UNUSED_VARIABLE = YES; | ||
217 | MACOSX_DEPLOYMENT_TARGET = 10.12; | ||
218 | MTL_ENABLE_DEBUG_INFO = YES; | ||
219 | ONLY_ACTIVE_ARCH = YES; | ||
220 | SDKROOT = macosx; | ||
221 | }; | ||
222 | name = Debug; | ||
223 | }; | ||
224 | 3C0F0F721EF3781E000EADDB /* Release */ = { | ||
225 | isa = XCBuildConfiguration; | ||
226 | buildSettings = { | ||
227 | ALWAYS_SEARCH_USER_PATHS = NO; | ||
228 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; | ||
229 | CLANG_ANALYZER_NONNULL = YES; | ||
230 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; | ||
231 | CLANG_CXX_LIBRARY = "libc++"; | ||
232 | CLANG_ENABLE_MODULES = YES; | ||
233 | CLANG_ENABLE_OBJC_ARC = YES; | ||
234 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; | ||
235 | CLANG_WARN_BOOL_CONVERSION = YES; | ||
236 | CLANG_WARN_COMMA = YES; | ||
237 | CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
238 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; | ||
239 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
240 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; | ||
241 | CLANG_WARN_EMPTY_BODY = YES; | ||
242 | CLANG_WARN_ENUM_CONVERSION = YES; | ||
243 | CLANG_WARN_INFINITE_RECURSION = YES; | ||
244 | CLANG_WARN_INT_CONVERSION = YES; | ||
245 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; | ||
246 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; | ||
247 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; | ||
248 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
249 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; | ||
250 | CLANG_WARN_STRICT_PROTOTYPES = YES; | ||
251 | CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||
252 | CLANG_WARN_UNREACHABLE_CODE = YES; | ||
253 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
254 | CODE_SIGN_IDENTITY = "-"; | ||
255 | COPY_PHASE_STRIP = NO; | ||
256 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
257 | ENABLE_NS_ASSERTIONS = NO; | ||
258 | ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
259 | GCC_C_LANGUAGE_STANDARD = gnu99; | ||
260 | GCC_NO_COMMON_BLOCKS = YES; | ||
261 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
262 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
263 | GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
264 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
265 | GCC_WARN_UNUSED_FUNCTION = YES; | ||
266 | GCC_WARN_UNUSED_VARIABLE = YES; | ||
267 | MACOSX_DEPLOYMENT_TARGET = 10.12; | ||
268 | MTL_ENABLE_DEBUG_INFO = NO; | ||
269 | SDKROOT = macosx; | ||
270 | }; | ||
271 | name = Release; | ||
272 | }; | ||
273 | 3C0F0F741EF3781E000EADDB /* Debug */ = { | ||
274 | isa = XCBuildConfiguration; | ||
275 | buildSettings = { | ||
276 | CODE_SIGN_IDENTITY = "-"; | ||
277 | OTHER_CPLUSPLUSFLAGS = ( | ||
278 | "$(OTHER_CFLAGS)", | ||
279 | "-ftemplate-depth=512", | ||
280 | ); | ||
281 | OTHER_LDFLAGS = ""; | ||
282 | PRODUCT_NAME = "$(TARGET_NAME)"; | ||
283 | }; | ||
284 | name = Debug; | ||
285 | }; | ||
286 | 3C0F0F751EF3781E000EADDB /* Release */ = { | ||
287 | isa = XCBuildConfiguration; | ||
288 | buildSettings = { | ||
289 | CODE_SIGN_IDENTITY = "-"; | ||
290 | OTHER_CPLUSPLUSFLAGS = ( | ||
291 | "$(OTHER_CFLAGS)", | ||
292 | "-ftemplate-depth=512", | ||
293 | ); | ||
294 | OTHER_LDFLAGS = ""; | ||
295 | PRODUCT_NAME = "$(TARGET_NAME)"; | ||
296 | }; | ||
297 | name = Release; | ||
298 | }; | ||
299 | /* End XCBuildConfiguration section */ | ||
300 | |||
301 | /* Begin XCConfigurationList section */ | ||
302 | 3C0F0F671EF3781E000EADDB /* Build configuration list for PBXProject "MoonPlusPlus" */ = { | ||
303 | isa = XCConfigurationList; | ||
304 | buildConfigurations = ( | ||
305 | 3C0F0F711EF3781E000EADDB /* Debug */, | ||
306 | 3C0F0F721EF3781E000EADDB /* Release */, | ||
307 | ); | ||
308 | defaultConfigurationIsVisible = 0; | ||
309 | defaultConfigurationName = Release; | ||
310 | }; | ||
311 | 3C0F0F731EF3781E000EADDB /* Build configuration list for PBXNativeTarget "MoonPlusPlus" */ = { | ||
312 | isa = XCConfigurationList; | ||
313 | buildConfigurations = ( | ||
314 | 3C0F0F741EF3781E000EADDB /* Debug */, | ||
315 | 3C0F0F751EF3781E000EADDB /* Release */, | ||
316 | ); | ||
317 | defaultConfigurationIsVisible = 0; | ||
318 | defaultConfigurationName = Release; | ||
319 | }; | ||
320 | /* End XCConfigurationList section */ | ||
321 | }; | ||
322 | rootObject = 3C0F0F641EF3781E000EADDB /* Project object */; | ||
323 | } | ||
diff --git a/MoonPlus.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MoonPlus.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 426e6c6..0000000 --- a/MoonPlus.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <Workspace | ||
3 | version = "1.0"> | ||
4 | <FileRef | ||
5 | location = "self:/Users/Jin/Workspace/MoonParser/MoonPlusPlus.xcodeproj"> | ||
6 | </FileRef> | ||
7 | </Workspace> | ||
diff --git a/MoonPlus.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/MoonPlus.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/MoonPlus.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
3 | <plist version="1.0"> | ||
4 | <dict> | ||
5 | <key>IDEDidComputeMac32BitWarning</key> | ||
6 | <true/> | ||
7 | </dict> | ||
8 | </plist> | ||
diff --git a/src/moonc.cpp b/src/moonc.cpp index d9d3ce3..02d5275 100644 --- a/src/moonc.cpp +++ b/src/moonc.cpp | |||
@@ -69,7 +69,7 @@ int main(int narg, const char** args) { | |||
69 | return 0; | 69 | return 0; |
70 | case "-v"_id: | 70 | case "-v"_id: |
71 | std::cout << "Moonscript version: " << MoonP::moonScriptVersion() << '\n'; | 71 | std::cout << "Moonscript version: " << MoonP::moonScriptVersion() << '\n'; |
72 | break; | 72 | return 0; |
73 | case "-o"_id: | 73 | case "-o"_id: |
74 | ++i; | 74 | ++i; |
75 | if (i < narg) { | 75 | if (i < narg) { |