commit a3ae18681deb6bf9b9a6f957a2ce57bf6b7cc1dd
parent 3b5f95d67e8724fe6d12749c9dba32cbfec2e386
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 9 Feb 2022 22:13:36 +0100
Update a log message
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/shitran_isotope_metadata.c b/src/shitran_isotope_metadata.c
@@ -231,8 +231,9 @@ flush_molecule
darray_isotope_size_get(&metadata->isotopes);
if(molecule->isotopes_range[0] >= molecule->isotopes_range[1]) {
log_warn(metadata->shitran,
- "%s: the %s molecule does not have any isotope.\n",
- txtrdr_get_name(txtrdr), str_cget(&molecule->name));
+ "%s:%lu: the %s molecule does not have any isotope.\n",
+ txtrdr_get_name(txtrdr), (unsigned long)txtrdr_get_line_num(txtrdr),
+ str_cget(&molecule->name));
}
/* Fetch the index where the molecule is going to be store */