summaryrefslogtreecommitdiff
path: root/src/core/common/Location.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-23 12:08:42 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-01-23 12:08:42 +0100
commit6dbb4d19a860937ec1c78df01b1371272e1de8de (patch)
treeea625d976c57ecc6b030dfe1a6653a47496fb6d2 /src/core/common/Location.cpp
parent45a3d085b86e4d761a30718d05be40d4640ba63f (diff)
Improved SourceLocation class.
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{};
+}
}