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
/
parser.h
diff --git
a/src/parser.h
b/src/parser.h
index 3b4c77faca030b0bef00ce37f9219c0f8ad52880..6dcd6bf64ebf44ebdfdcdf22a6d498ba5c9b5f22 100644
(file)
--- a/
src/parser.h
+++ b/
src/parser.h
@@
-356,7
+356,7
@@
static inline impl_val *enref_impl_val(void *ptr, decl_var *var) {
impl_val *val, *val_ptr;
unsigned i;
- if (!var->pointer_level) {
+ if (!var->pointer_level
&& real_decl_type(var->arg->type)->type != PSI_T_STRUCT
) {
return ptr;
}
val = val_ptr = calloc(var->pointer_level, sizeof(void *));