git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7921
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
static void handle_suite(const char *filename, FILE * IN)
{
size_t len;
- int blankline = 1;
- int linelen = 0;
+ int blankline;
+ int linelen;
char *line = NULL;
int line_num = 0;
char file_pos[256];
- int to_be_continued = 0;
+ int to_be_continued;
int buffbegin = 0;
xbt_strbuff_t buff = NULL;
line_num++;
/* Count the line length while checking wheather it's blank */
+ blankline = 1;
+ linelen = 0;
while (line[linelen] != '\0') {
if (line[linelen] != ' ' && line[linelen] != '\t'
}
/* Deal with \ at the end of the line, and call handle_line on result */
+ to_be_continued = 0;
if (linelen > 1 && line[linelen - 2] == '\\') {
if (linelen > 2 && line[linelen - 3] == '\\') {
/* Damn. Escaped \ */