better errors
[m6w6/ext-psi] / src / context.h
index a010eeed1f2ee91da5fbf51fc8f7d6d97e0af43e..c8416a5bb37abb67b252514c0c41462635b061ad 100644 (file)
@@ -5,7 +5,7 @@
 
 #define PSI_ERROR 16
 #define PSI_WARNING 32
-typedef void (*PSI_ContextErrorFunc)(int type, const char *msg, ...);
+typedef void (*PSI_ContextErrorFunc)(PSI_Token *token, int type, const char *msg, ...);
 
 typedef struct PSI_Context PSI_Context;
 typedef struct PSI_ContextOps PSI_ContextOps;