|
|
|
|
@ -47,7 +47,7 @@ void PrintException(std::ostream& os, const std::exception& ex) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void PrintHelp(std::ostream& os) {
|
|
|
|
|
os << "SysY Compiler (课程实验最小可运行示例)\n"
|
|
|
|
|
os << "SysY Compiler\n"
|
|
|
|
|
<< "\n"
|
|
|
|
|
<< "用法:\n"
|
|
|
|
|
<< " compiler [--help] [--emit-parse-tree] [--emit-ir] [--emit-asm] <input.sy>\n"
|
|
|
|
|
|