From ed9d56bd8f6906fadfb7b29eec15af18ab0a7aac Mon Sep 17 00:00:00 2001 From: yangxx Date: Wed, 23 Jul 2003 14:02:17 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@128 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ltt/branches/poly/ltt/parser.c b/ltt/branches/poly/ltt/parser.c index 6b0fbd62..8017e3f1 100644 --- a/ltt/branches/poly/ltt/parser.c +++ b/ltt/branches/poly/ltt/parser.c @@ -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); //... - 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); // getLAnglebracket(in); -- 2.34.1