projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix leak
[m6w6/ext-psi]
/
src
/
parser_proc_grammar.y
diff --git
a/src/parser_proc_grammar.y
b/src/parser_proc_grammar.y
index 38194e9764131f0cc9b12728e0bff65b8caf5b50..6e07b5fd9fafb1ec9f1d4e781926d829ecde441c 100644
(file)
--- a/
src/parser_proc_grammar.y
+++ b/
src/parser_proc_grammar.y
@@
-770,7
+770,7
@@
impl_def_val[val]:
}
| quoted_strings[token] {
$val = psi_impl_def_val_init($token->type, $token->text);
}
| quoted_strings[token] {
$val = psi_impl_def_val_init($token->type, $token->text);
- $val->token =
psi_token_copy($token)
;
+ $val->token =
$token
;
}
;
}
;
@@
-1270,6
+1270,7
@@
decl_functor_body[decl]:
type->real.func = rval_decl;
func->var->token = psi_token_copy($NAME);
func->token = psi_token_copy($NAME);
type->real.func = rval_decl;
func->var->token = psi_token_copy($NAME);
func->token = psi_token_copy($NAME);
+ type->token = type_token;
$decl = psi_decl_init(func, $args);
}
$decl = psi_decl_init(func, $args);
}