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
Fixed typo in documentation of surf_routing.hpp
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
90c3711
..
34bbc7b
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-38,8
+38,9
@@
void surf_parse_error(const char *fmt, ...) {
char *msg = bvprintf(fmt,va);
va_end(va);
cleanup();
char *msg = bvprintf(fmt,va);
va_end(va);
cleanup();
+ XBT_ERROR("Parse error at %s:%d: %s", surf_parsed_filename, lineno, msg);
surf_exit();
surf_exit();
- xbt_die("
Parse error at %s:%d: %s", surf_parsed_filename, lineno, msg
);
+ xbt_die("
Exiting now"
);
}
void surf_parse_warn(const char *fmt, ...) {
va_list va;
}
void surf_parse_warn(const char *fmt, ...) {
va_list va;