summaryrefslogtreecommitdiff
path: root/src/core/common/Location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/common/Location.cpp')
-rw-r--r--src/core/common/Location.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/common/Location.cpp b/src/core/common/Location.cpp
index 6f9250a..7a75347 100644
--- a/src/core/common/Location.cpp
+++ b/src/core/common/Location.cpp
@@ -19,5 +19,14 @@
#include "Location.hpp"
namespace ousia {
+
+/* Global Functions */
+
+const SourceLocation NullSourceLocation;
+
+void SourceContext NullSourceContextCallback(const SourceLocation &location)
+{
+ return SourceContext{};
+}
}