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
Fix bug #17132 (surf.c:366: The Impossible Did Happen (yet again)).
[simgrid.git]
/
src
/
surf
/
surfxml_parseplatf.c
diff --git
a/src/surf/surfxml_parseplatf.c
b/src/surf/surfxml_parseplatf.c
index
92040f0
..
2c93389
100644
(file)
--- a/
src/surf/surfxml_parseplatf.c
+++ b/
src/surf/surfxml_parseplatf.c
@@
-1,4
+1,4
@@
-/* Copyright (c) 2006
, 2007, 2008, 2009, 2010, 2011
. The SimGrid Team.
+/* Copyright (c) 2006
-2014
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-25,8
+25,8
@@
int surfxml_bufferstack_size = 2048;
static char *old_buff = NULL;
static char *old_buff = NULL;
-
unsigned int
surfxml_buffer_stack_stack_ptr;
-
unsigned int
surfxml_buffer_stack_stack[1024];
+
XBT_IMPORT_NO_EXPORT(unsigned int)
surfxml_buffer_stack_stack_ptr;
+
XBT_IMPORT_NO_EXPORT(unsigned int)
surfxml_buffer_stack_stack[1024];
void surfxml_bufferstack_push(int new)
void surfxml_bufferstack_push(int new)
@@
-119,6
+119,6
@@
void parse_platform_file(const char *file)
/* Stop the flex parser */
surf_parse_close();
if (parse_status)
/* Stop the flex parser */
surf_parse_close();
if (parse_status)
-
xbt_die
("Parse error in %s", file);
+
surf_parse_error
("Parse error in %s", file);
}
}