* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/misc.h"
-#include "xbt/error.h"
+#include "xbt/log.h"
#include "surf/surf_parse.h"
#include "surf/surf_private.h"
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(parse, surf ,"Logging specific to the SURF module");
xbt_assert1((surf_file_to_parse), "Unable to open \"%s\"\n",file);
surf_input_buffer = surf_parse__create_buffer( surf_file_to_parse, 10);
surf_parse__switch_to_buffer(surf_input_buffer);
+ surf_parse_lineno = 1;
}
void surf_parse_close(void) {
int surf_parse(void)
{
- int ret=0;
return surf_parse_lex();
}