[fix] 修复xml定义table时失误将options属性写成parser_mode的bug

main
walon 2022-08-10 18:03:10 +08:00
parent c60f91fdd4
commit ff6e09ec9d
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ namespace Luban.Job.Cfg.Defs
return mode; return mode;
} }
private readonly List<string> _tableOptionalAttrs = new List<string> { "index", "mode", "group", "patch_input", "comment", "define_from_file", "output", "parser_mode" }; private readonly List<string> _tableOptionalAttrs = new List<string> { "index", "mode", "group", "patch_input", "comment", "define_from_file", "output", "options" };
private readonly List<string> _tableRequireAttrs = new List<string> { "name", "value", "input" }; private readonly List<string> _tableRequireAttrs = new List<string> { "name", "value", "input" };
private void AddTable(string defineFile, XElement e) private void AddTable(string defineFile, XElement e)