mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-16 08:33:50 +00:00
Support localize entries that have a name that cannot be represented as an identifier
This commit is contained in:
1 parent
cf711c3af7
commit
36cd9e11fe
4 files changed
+24
-2
No files matched your search
@@ -8,7 +8,10 @@ SequenceLocalizeFileReference::SequenceLocalizeFileReference()
|
||||
|
||||
AddMatchers({
|
||||
create.Keyword("REFERENCE"),
|
||||
create.Identifier().Capture(CAPTURE_REFERENCE_NAME),
|
||||
create.Or({
|
||||
create.Identifier(),
|
||||
create.String()
|
||||
}).Capture(CAPTURE_REFERENCE_NAME),
|
||||
create.Type(SimpleParserValueType::NEW_LINE)
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user