A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More verbose error message
[simgrid.git]
/
src
/
gras
/
DataDesc
/
ddt_parse.c
diff --git
a/src/gras/DataDesc/ddt_parse.c
b/src/gras/DataDesc/ddt_parse.c
index
c4c28da
..
e49c7af
100644
(file)
--- 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') {
if (end == gras_ddt_parse_text ||
*end != '\0') {
- ERROR
3("Unparsable size of array at %d:%d of %s
",
+ ERROR
4("Unparsable size of array at %d:%d of %s. Found '%c', expected '\\0'
",
gras_ddt_parse_line_pos,gras_ddt_parse_char_pos,
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 */
gras_abort();
}
/* replace the previously pushed type to an array of it */