Skip to content

Commit 6b45a1f

Browse files
committed
Add fallback text, missing #include.
1 parent 53c2cdb commit 6b45a1f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/tokeniser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#include <cctype>
55
#include <cstdio>
6+
#include <functional>
67
#include <map>
78

89
/*

src/tokeniser.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ struct Error {
2525
case Type::LineTooLong: return "LineTooLong";
2626
case Type::BadStringLiteral: return "BadStringLiteral";
2727
}
28+
return "InvalidError";
2829
}() + " at line " + std::to_string(line_number);
2930
}
3031
};

0 commit comments

Comments
 (0)