src/INICommand.cpp
branchv_0
changeset 33 3b81fbeb5f3b
parent 29 f0bf2755249f
child 35 930f17f16fd7
--- a/src/INICommand.cpp	Sun Nov 29 10:50:16 2020 +0100
+++ b/src/INICommand.cpp	Sun Dec 13 17:34:26 2020 +0100
@@ -177,6 +177,7 @@
 	reader->addUnescapingProcessor(std::make_shared<JavaPropertiesUnescapingProcessor>(), unescaping::JavaProperties, false);
 	reader->addUnescapingProcessor(std::make_shared<BackspaceUnescapingProcessor>(), unescaping::Backspace, true);
 	reader->addDialect(std::make_shared<JavaPropertiesDialect>(), dialect::JavaProperties, false);
+	reader->addDialect(std::make_shared<JavaPropertiesDialect>(), dialect::JavaManifestMF, false);
 	reader->addHandler(&handler);
 	// TODO: smart pointers vs. references: are we going to call addUnescapingProcessor() dynamically/conditionally or share instances? Then pointers will be better.
 	for (ParserOptionRecipe option : configuration.parserOptions) reader->setOption(convertor.to_bytes(option.uri), convertor.to_bytes(option.value));