We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53c2cdb commit 6b45a1fCopy full SHA for 6b45a1f
src/tokeniser.cpp
@@ -3,6 +3,7 @@
3
4
#include <cctype>
5
#include <cstdio>
6
+#include <functional>
7
#include <map>
8
9
/*
src/tokeniser.hpp
@@ -25,6 +25,7 @@ struct Error {
25
case Type::LineTooLong: return "LineTooLong";
26
case Type::BadStringLiteral: return "BadStringLiteral";
27
}
28
+ return "InvalidError";
29
}() + " at line " + std::to_string(line_number);
30
31
};
0 commit comments