Index: trunk/BNC/bncantex.cpp
===================================================================
--- trunk/BNC/bncantex.cpp	(revision 2886)
+++ trunk/BNC/bncantex.cpp	(revision 2887)
@@ -57,4 +57,15 @@
     it.next();
     delete it.value();
+  }
+}
+
+// 
+////////////////////////////////////////////////////////////////////////////
+void bncAntex::print() const {
+  QMapIterator<QString, t_antMap*> it(_maps);
+  while (it.hasNext()) {
+    it.next();
+    t_antMap* map = it.value();
+    cout << map->antName.toAscii().data() << endl;
   }
 }
Index: trunk/BNC/bncantex.h
===================================================================
--- trunk/BNC/bncantex.h	(revision 2886)
+++ trunk/BNC/bncantex.h	(revision 2887)
@@ -35,5 +35,6 @@
   bncAntex();
   ~bncAntex();
-  t_irc readFile(const QString& fileName);
+  t_irc readFile(const QString& fileName);  
+  void print() const;
 
  private:
Index: trunk/BNC/bncmodel.cpp
===================================================================
--- trunk/BNC/bncmodel.cpp	(revision 2886)
+++ trunk/BNC/bncmodel.cpp	(revision 2887)
@@ -264,7 +264,11 @@
     if (_antex->readFile(antexFileName) != success) {
       emit newMessage("wrong ANTEX file", false);
-    }
-    delete _antex;
-    _antex = 0;
+      delete _antex;
+      _antex = 0;
+    }
+  }
+
+  if (_antex) {
+    _antex->print();
   }
 }
