From 5f06515e87e8f9cc6ac0b0f4a55a11e4db26b720 Mon Sep 17 00:00:00 2001 From: Stefan Bienert <stefan.bienert@unibas.ch> Date: Wed, 13 Jul 2011 10:56:32 +0200 Subject: [PATCH] Added getter function for the current STAR parser line number --- modules/io/src/mol/star_parser.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/io/src/mol/star_parser.hh b/modules/io/src/mol/star_parser.hh index 382356627..6e62f6bfa 100644 --- a/modules/io/src/mol/star_parser.hh +++ b/modules/io/src/mol/star_parser.hh @@ -156,6 +156,12 @@ public: { filename_ = filename; } + + /// \brief retrieve the line, the parser is currently working on + int GetCurrentLinenum() + { + return line_num_; + } public: void Parse(); -- GitLab