Skip to content

Commit

Permalink
에러 메시지 수정
Browse files Browse the repository at this point in the history
logger를 사용하지 않는 에러 메시지의 줄바꿈을 실수로 넣지 않았음.
  • Loading branch information
zihasoo committed Dec 12, 2023
1 parent 8f1f49b commit fe91313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srcs/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pair<unique_ptr<llvm::LLVMContext>, unique_ptr<llvm::Module>> Parser::parse() {
parse_top_level();

if (!func_proto_map.contains(ENTRY_FN_NAME) || !func_proto_map[ENTRY_FN_NAME].has_body) {
cerr << "에러: 진입점이 정의되지 않았습니다. \"" << ENTRY_FN_NAME << "\" 함수 정의가 필요합니다";
cerr << "에러: 진입점이 정의되지 않았습니다. \"" << ENTRY_FN_NAME << "\" 함수 정의가 필요합니다\n";
System::logger.set_error();
}

Expand Down

0 comments on commit fe91313

Please sign in to comment.