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 enum dump; fix float formats; fix dumps
[m6w6/ext-psi]
/
src
/
error.c
diff --git
a/src/error.c
b/src/error.c
index c92b847e3530859083ce001bcb6f24237de36db0..af336a2260e434da0ba0fccb3898af08779e33ac 100644
(file)
--- a/
src/error.c
+++ b/
src/error.c
@@
-57,7
+57,7
@@
void psi_error_wrapper(struct psi_data *context, struct psi_token *t, int type,
}
if (t) {
}
if (t) {
- fn = t->file;
+ fn = t->file
->val
;
ln = t->line;
} else if (zend_is_executing()) {
fn = zend_get_executed_filename();
ln = t->line;
} else if (zend_is_executing()) {
fn = zend_get_executed_filename();
@@
-71,6
+71,7
@@
void psi_error_wrapper(struct psi_data *context, struct psi_token *t, int type,
va_start(argv, msg);
psi_verror(type, fn, ln, msg, argv);
va_start(argv, msg);
psi_verror(type, fn, ln, msg, argv);
+ PSI_DEBUG_PRINTV(context, msg, argv);
va_end(argv);
if (context) {
va_end(argv);
if (context) {