X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6760cb07d6b57be16928d95339d71e57c4e24f36..f3718ac873cc4a8e6426f7fe1b0c88f004837c1a:/src/gras/DataDesc/ddt_parse.yy.l diff --git a/src/gras/DataDesc/ddt_parse.yy.l b/src/gras/DataDesc/ddt_parse.yy.l index 0db380d201..29d029d59a 100644 --- a/src/gras/DataDesc/ddt_parse.yy.l +++ b/src/gras/DataDesc/ddt_parse.yy.l @@ -19,7 +19,7 @@ int gras_ddt_parse_tok_num = 0; const char *definition; XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras_ddt_lexer,gras_ddt_parse,"The crude internals of the lexer used for type parsing"); -#define SHOW_WHERE DEBUG4("%d:%d (char #%d): seen '%s'", gras_ddt_parse_line_pos,gras_ddt_parse_col_pos,gras_ddt_parse_char_pos,yytext) +#define SHOW_WHERE XBT_DEBUG("%d:%d (char #%d): seen '%s'", gras_ddt_parse_line_pos,gras_ddt_parse_col_pos,gras_ddt_parse_char_pos,yytext) %} %x annotate comment foo @@ -34,14 +34,14 @@ digit [0-9] "//"[^\n]* "/*g"{space}* { /****************** ANNOTATION ************************/ - DEBUG0("Begin annotation"); + XBT_DEBUG("Begin annotation"); annotate_caller = INITIAL; gras_ddt_parse_char_pos+= strlen(yytext); gras_ddt_parse_col_pos+= strlen(yytext); BEGIN(annotate); } "/*g"{space}* { /* trim annotation */ - DEBUG0("Begin annotation"); + XBT_DEBUG("Begin annotation"); annotate_caller = foo; gras_ddt_parse_char_pos+= strlen(yytext); gras_ddt_parse_col_pos+= strlen(yytext); @@ -49,17 +49,17 @@ digit [0-9] } {space}*"g*/" { - DEBUG0("End annotation"); + XBT_DEBUG("End annotation"); gras_ddt_parse_char_pos+= strlen(yytext); gras_ddt_parse_col_pos+= strlen(yytext); BEGIN(annotate_caller); } "*/" { - PARSE_ERROR0("``/*g'' construct closed by a regular ``*/''"); + PARSE_ERROR("``/*g'' construct closed by a regular ``*/''"); } \n { - PARSE_ERROR0("Type annotation cannot spread over several lines"); + PARSE_ERROR("Type annotation cannot spread over several lines"); } .* { /* eat the rest */