Use llvm's CommandLine for parsing (#332)

This commit is contained in:
Jon Meow
2021-03-02 15:16:17 -08:00
committed by GitHub
parent d48b17adc7
commit 30648724c9
4 changed files with 19 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
namespace Carbon {
char* input_filename = nullptr;
const char* input_filename = nullptr;
void PrintSyntaxError(char* error, int line_num) {
std::cerr << input_filename << ":" << line_num << ": " << error << std::endl;