Support localize entries that have a name that cannot be represented as an identifier

This commit is contained in:
Jan
2023-09-24 15:58:57 +02:00
parent cf711c3af7
commit 36cd9e11fe
4 changed files with 24 additions and 2 deletions

View File

@ -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)
});
}