Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correct implementation of start/end tags when bypassing the parser.
[simgrid.git] / examples / msg / masterslave / masterslave_bypass.c
index e953f1a99fe789969c9486b8c7e3c62f948bc130..1e3c5436427a9a7bf3c5e0d7da1e8948dcde47dc 100644 (file)
@@ -95,7 +95,8 @@ static int surf_parse_bypass_application(void)
 {
   static int AX_ptr;
   static int surfxml_bufferstack_size = 2048;
-
+  static int surfxml_buffer_stack_stack_ptr = 0;
+  static int surfxml_buffer_stack_stack[1024];
   /* allocating memory to the buffer, I think 2MB should be enough */
   surfxml_bufferstack = xbt_new0(char, surfxml_bufferstack_size);