Debugger - Stage 3 (artf511247)
[deliverable/titan.core.git] / core / Logger.cc
index bb0f3e0b07856700dadf993173060f57f343195d..9b7d92657660ab8f7a40f6a22b752c12e81d3af0 100644 (file)
@@ -1510,6 +1510,14 @@ void TTCN_Location::strip_entity_name(char*& par_str)
   par_str = new_str;
 }
 
+unsigned int TTCN_Location::get_line_number()
+{
+  if (innermost_location != NULL) {
+    return innermost_location->line_number;
+  }
+  return 0;
+}
+
 char *TTCN_Location::append_contents(char *par_str,
   boolean print_entity_name) const
 {
This page took 0.025582 seconds and 5 git commands to generate.