projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ltt_trace_read with external LttEvent
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
parser.c
diff --git
a/ltt/branches/poly/ltt/parser.c
b/ltt/branches/poly/ltt/parser.c
index 8017e3f10d1c6a22ed4b9877e4aac616b51b014d..b6561ca57793f38c48ad6837680bd924aefa5b7e 100644
(file)
--- a/
ltt/branches/poly/ltt/parser.c
+++ b/
ltt/branches/poly/ltt/parser.c
@@
-497,10
+497,9
@@
type_descriptor *parseType(parse_file *in, type_descriptor *inType,
free(str);
str = appendString(str1,token);
free(str1);
free(str);
str = appendString(str1,token);
free(str1);
- sequence_push(&(t->labels),allocAndCopy(str));
- free(str);
+ sequence_push(&(t->labels),str);
}else
}else
- sequence_push(&(t->labels),
allocAndCopy(str)
);
+ sequence_push(&(t->labels),
str
);
getForwardslash(in);
getRAnglebracket(in);
getForwardslash(in);
getRAnglebracket(in);
@@
-579,7
+578,8
@@
type_descriptor * find_named_type(char *name, table * named_types)
t->type_name = allocAndCopy(name);
t->type = NONE;
t->fmt = NULL;
t->type_name = allocAndCopy(name);
t->type = NONE;
t->fmt = NULL;
- table_insert(named_types,allocAndCopy(name),t);
+ table_insert(named_types,t->type_name,t);
+ // table_insert(named_types,allocAndCopy(name),t);
}
return t;
}
}
return t;
}
This page took
0.022772 seconds
and
4
git commands to generate.