git-svn-id: http://ltt.polymtl.ca/svn@128 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git] / ltt / branches / poly / ltt / parser.c
index 6b0fbd621a3b16b8b3b74881bfba084d1d7b6461..8017e3f10d1c6a22ed4b9877e4aac616b51b014d 100644 (file)
@@ -263,7 +263,7 @@ void parseFacility(parse_file *in, facility * fac)
   fac->name = allocAndCopy(getNameAttribute(in));    
   getRAnglebracket(in);    
   
-  fac->description = allocAndCopy(getDescription(in));
+  fac->description = getDescription(in);
   
   while(1){
     getLAnglebracket(in);    
@@ -311,7 +311,7 @@ void parseEvent(parse_file *in, event * ev, sequence * unnamed_types,
   getRAnglebracket(in);  
 
   //<description>...</descriptio>
-  ev->description = allocAndCopy(getDescription(in)); 
+  ev->description = getDescription(in); 
   
   //event can have STRUCT, TYPEREF or NOTHING
   getLAnglebracket(in);
@@ -359,7 +359,7 @@ void parseFields(parse_file *in, type_descriptor *t, sequence * unnamed_types,
   f->name = allocAndCopy(getNameAttribute(in)); 
   getRAnglebracket(in);
 
-  f->description = allocAndCopy(getDescription(in));
+  f->description = getDescription(in);
 
   //<int size=...>
   getLAnglebracket(in);
This page took 0.022759 seconds and 4 git commands to generate.