From 4bb811f3af19a18cba0a0122f320d900e5933da0 Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 23 Jul 2004 00:38:58 +0000 Subject: [PATCH] More verbose error message git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@323 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/gras/DataDesc/ddt_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gras/DataDesc/ddt_parse.c b/src/gras/DataDesc/ddt_parse.c index c4c28da498..e49c7af452 100644 --- a/src/gras/DataDesc/ddt_parse.c +++ b/src/gras/DataDesc/ddt_parse.c @@ -277,9 +277,9 @@ static gras_error_t parse_statement(char *definition, if (end == gras_ddt_parse_text || *end != '\0') { - ERROR3("Unparsable size of array at %d:%d of %s", + ERROR4("Unparsable size of array at %d:%d of %s. Found '%c', expected '\\0'", gras_ddt_parse_line_pos,gras_ddt_parse_char_pos, - definition); + definition,*end); gras_abort(); } /* replace the previously pushed type to an array of it */ -- 2.20.1