some-update
This commit is contained in:
parent
e07354c527
commit
221c3757b1
|
@ -29,13 +29,18 @@ std::function<void(std::shared_ptr<const ast_gen::ElementAccess>, int)> tnode_pr
|
||||||
tnode_print(c_n, intend + 1);
|
tnode_print(c_n, intend + 1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
|
* nsc --help
|
||||||
|
* nsc [opts] --path path-to-dir
|
||||||
|
* opts:
|
||||||
|
* -p print-struct 输出整体结构
|
||||||
|
*/
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
QCoreApplication a(argc, argv);
|
QCoreApplication a(argc, argv);
|
||||||
|
|
||||||
if (argc != 3 || strcmp(argv[1], "-path")) {
|
if (argc != 3 || strcmp(argv[1], "-path")) {
|
||||||
std::cout << "nsc(WsNovelStoryCompiler:故事线编译器)" << std::endl;
|
std::cout << "nsc(WsNovelStoryCompiler:故事线编译器)" << std::endl;
|
||||||
std::cout << "版本:V1.00" << std::endl;
|
std::cout << "版本:V1.0.0" << std::endl;
|
||||||
std::cout << "nsc -path path-to-dir" << std::endl;
|
std::cout << "nsc -path path-to-dir" << std::endl;
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue