Closed Larusso closed 4 months ago
I tested this crate with an xcode project created by Unity and it crashed. The reason is that unity prefixes some files with __
__
e.g.
48F04CAAAB193DE466850215 /* __Generated.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = __Generated.cpp; path = Classes/Native/__Generated.cpp; sourceTree = SOURCE_ROOT; };
The project loads and works fine in Xcode so I assume that the error must be in the crate.
I adjusted the grammar and provided another demo file which breaks without the adjusted grammar.
I tested this crate with an xcode project created by Unity and it crashed. The reason is that unity prefixes some files with
__
e.g.
48F04CAAAB193DE466850215 /* __Generated.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = __Generated.cpp; path = Classes/Native/__Generated.cpp; sourceTree = SOURCE_ROOT; };
The project loads and works fine in Xcode so I assume that the error must be in the crate.
I adjusted the grammar and provided another demo file which breaks without the adjusted grammar.