Index: trunk/t3d/src/org/etsi/t3d/DependencyPrinter.java
===================================================================
--- trunk/t3d/src/org/etsi/t3d/DependencyPrinter.java	(revision 9)
+++ trunk/t3d/src/org/etsi/t3d/DependencyPrinter.java	(revision 10)
@@ -134,4 +134,19 @@
 		LocationAST typeNode = LocationAST.getModuleDefinitionTypeNode(node);
 		//TODO: refine further 
+		String option = "";
+		if (identifiersList.size() > 1) {
+			option = " conflicted=\"true\"";
+			//TODO: use proper logging interface
+			System.out.println(currentTTCN3File.substring(currentTTCN3File.lastIndexOf("/") + 1)+": "+node.getLine()+": WARNING: Multiple identifiers declared in a single module defintion!");
+		}
+		LocationAST nextModuleDefinitionNode = node.getNextSibling();
+		while (nextModuleDefinitionNode!=null && nextModuleDefinitionNode.getType()==TTCN3ParserTokenTypes.SemiColon){
+			nextModuleDefinitionNode = nextModuleDefinitionNode.getNextSibling();
+		}
+		if (nextModuleDefinitionNode!=null && node.getLine()==nextModuleDefinitionNode.getLine()){
+			option = " conflicted=\"true\"";
+			//TODO: use proper logging interface
+			System.out.println(currentTTCN3File.substring(currentTTCN3File.lastIndexOf("/") + 1)+": "+node.getLine()+": WARNING: Multiple module definitions on the same line");
+		}
 		for (LocationAST identifierNode : identifiersList) {
 			writeStream("\n\t<element id=\""
@@ -141,11 +156,15 @@
 					+ "\" type=\""
 					+ LocationAST.getTTCN3ParserTokenTypeTypePrettyName(typeNode.getType())
-					+ "\" line=\""
-					+ identifierNode.getLine()
+					+ "\" startline=\""
+					+ node.getLine()
+					+ "\" endline=\""
+					+ node.getEndLine()
 					+ "\" module=\""
 					+ VisitorCommonFunctions.getModuleName(identifierNode)
 					+ "\" file=\""
 					+ currentTTCN3File.substring(currentTTCN3File.lastIndexOf("/") + 1)
-					+ "\">");
+					+ "\""
+					+ option
+					+ ">");
 			
 			if (typeNode.getType()==TTCN3ParserTokenTypes.GroupDef) {
