Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[after] last minute bug fixes
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 12 Aug 2004 02:45:57 +0000 (02:45 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 12 Aug 2004 02:45:57 +0000 (02:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@377 48e7efb5-ca39-0410-a469-dd3cf9ba447f

configure.ac
src/gras/DataDesc/ddt_parse.c

index ea6c2a5..6fd6582 100644 (file)
@@ -3,7 +3,7 @@ AC_PREREQ(2.59)
 #We need a recent ACI
 ACI_PREREQ(2003.01.16)
 
 #We need a recent ACI
 ACI_PREREQ(2003.01.16)
 
-AC_INIT([GRAS],[0.5],[martin.quinson@ens-lyon.fr])
+AC_INIT([GRAS],[0.6],[martin.quinson@ens-lyon.fr])
 AC_CONFIG_SRCDIR([src/include/gras.h])
 AC_CONFIG_HEADERS([src/gras_config.h])
 
 AC_CONFIG_SRCDIR([src/include/gras.h])
 AC_CONFIG_HEADERS([src/gras_config.h])
 
index 38f55ee..b206811 100644 (file)
@@ -282,8 +282,11 @@ static gras_error_t parse_statement(char    *definition,
     } else if (!strcmp(identifier.type_name, "char")) {
       identifier.type = gras_datadesc_by_name("char");
 
     } else if (!strcmp(identifier.type_name, "char")) {
       identifier.type = gras_datadesc_by_name("char");
 
-    } else { /* impossible */
-      PARSE_ERROR0("The Impossible Did Happen (once again)");
+    } else { 
+      DEBUG1("Base type is a constructed one (%s)",identifier.type_name);
+      identifier.type = gras_datadesc_by_name(identifier.type_name);
+      if (!identifier.type)
+       PARSE_ERROR1("Unknown base type '%s'",identifier.type_name);
     }
   } 
   /* Now identifier.type and identifier.name speak about the base type.
     }
   } 
   /* Now identifier.type and identifier.name speak about the base type.