Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make PARSE_ERROR a variadic macro too.
[simgrid.git] / src / gras / DataDesc / ddt_parse.yy.c
index 3e77a6f..acb8213 100644 (file)
@@ -841,14 +841,14 @@ YY_RULE_SETUP
 case 5:
 YY_RULE_SETUP
 {
 case 5:
 YY_RULE_SETUP
 {
-  PARSE_ERROR0("``/*g'' construct closed by a regular ``*/''");
+  PARSE_ERROR("``/*g'' construct closed by a regular ``*/''");
 }
        YY_BREAK
 case 6:
 /* rule 6 can match eol */
 YY_RULE_SETUP
 {
 }
        YY_BREAK
 case 6:
 /* rule 6 can match eol */
 YY_RULE_SETUP
 {
-  PARSE_ERROR0("Type annotation cannot spread over several lines");
+  PARSE_ERROR("Type annotation cannot spread over several lines");
 }
        YY_BREAK
 case 7:
 }
        YY_BREAK
 case 7: