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 varargs support
[m6w6/ext-psi]
/
src
/
parser.h
diff --git
a/src/parser.h
b/src/parser.h
index 34e849e712dc38a4ed4e90f90ce3df985592b4db..c9e9f752bb8f8747693229f4b79751f68f7aa1fa 100644
(file)
--- a/
src/parser.h
+++ b/
src/parser.h
@@
-919,11
+919,13
@@
static inline void free_let_callback(let_callback *cb) {
free(cb);
}
free(cb);
}
+typedef impl_val *(*let_func_handler)(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free);
+
typedef struct let_func {
token_t type;
char *name;
impl_var *var;
typedef struct let_func {
token_t type;
char *name;
impl_var *var;
-
impl_val *(*handler)(impl_val *tmp, decl_type *type, impl_arg *iarg, void **to_free)
;
+
let_func_handler handler
;
} let_func;
static inline let_func *init_let_func(token_t type, const char *name, impl_var *var) {
} let_func;
static inline let_func *init_let_func(token_t type, const char *name, impl_var *var) {