update
This commit is contained in:
parent
e1fe5e1104
commit
9d523a96bd
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LocalDebuggerWorkingDirectory>$(SolutionDir)$(Platform)\$(Configuration)\</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>--path "D:\Projects\Cpp\WsNovelParser\x64\test_file"</LocalDebuggerCommandArguments>
|
||||
<LocalDebuggerCommandArguments>--path "D:\手作小说\科学+修仙+创造世界"</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LocalDebuggerCommandArguments>--path "D:\手作小说\科学+修仙+创造世界"</LocalDebuggerCommandArguments>
|
||||
|
|
|
@ -96,8 +96,7 @@ void StoryVolume::buildPageHTML(QDomElement& parent) const {
|
|||
[&](QDomElement& parent_element, const QList<std::shared_ptr<const ast_gen::ElementAccess>> children) {
|
||||
for (auto& child : children) {
|
||||
auto doc_ins = parent_element.ownerDocument();
|
||||
switch ((NovelNode)child->element()->typeMark())
|
||||
{
|
||||
switch ((NovelNode)child->element()->typeMark()) {
|
||||
case NovelNode::TextSection: {
|
||||
auto text_inst = std::dynamic_pointer_cast<const TextSection>(child->element());
|
||||
auto dom_p = doc_ins.createElement("p");
|
||||
|
|
|
@ -35,7 +35,6 @@ std::function<void(std::shared_ptr<const ast_gen::ElementAccess>, int)> tnode_pr
|
|||
* nsc [opts] --path path-to-dir
|
||||
* opts:
|
||||
* -p print-struct 输出整体结构
|
||||
* -s service 常驻服务启动
|
||||
*/
|
||||
int main(int argc, char* argv[]) {
|
||||
QCoreApplication a(argc, argv);
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue