projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/ext-psi]
/
src
/
context_dump.c
diff --git
a/src/context_dump.c
b/src/context_dump.c
index b778525c93a4f4aa76bf9df59a2240933da73036..8e11eca41763589155de8a03fed85780aa463a01 100644
(file)
--- a/
src/context_dump.c
+++ b/
src/context_dump.c
@@
-127,10
+127,10
@@
static inline void dump_impl_set_value(int fd, set_value *set, unsigned level, i
dprintf(fd, ", ");
dump_num_exp(fd, set->num);
}
dprintf(fd, ", ");
dump_num_exp(fd, set->num);
}
- if (set->inner && set->func->type != PSI_T_ELLIPSIS) {
+ if (set->inner && set->
inner->vals && set->
func->type != PSI_T_ELLIPSIS) {
dprintf(fd, ",\n");
dprintf(fd, ",\n");
- for (i = 0; i < set->count; ++i) {
- dump_impl_set_value(fd, set->inner
[i], level+1, i == (set
->count - 1));
+ for (i = 0; i < set->
inner->
count; ++i) {
+ dump_impl_set_value(fd, set->inner
->vals[i], level+1, i == (set->inner
->count - 1));
}
/* only if inner stmts, i.e. with new lines, were dumped */
dump_level(fd, level);
}
/* only if inner stmts, i.e. with new lines, were dumped */
dump_level(fd, level);