From 62fd1faf49dfa35ff24c1e2f4bf66a2edcbaf0b9 Mon Sep 17 00:00:00 2001 From: erg Date: Tue, 17 Jul 2007 21:47:46 +0000 Subject: [PATCH] For Windows dlls, allow extern data structure error_info to be accessed by functions. --- lib/ast/error.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ast/error.h b/lib/ast/error.h index f83a8fecb..9140dcb93 100644 --- a/lib/ast/error.h +++ b/lib/ast/error.h @@ -57,6 +57,12 @@ extern "C" { extern Error_info_t error_info; + extern void setErrorLine (int); + extern void setErrorFileLine (char*, int); + extern void setErrorId (char*); + extern void setErrorErrors (int); + extern int getErrorErrors (); + extern void error(int, ...); extern void errorf(void *, void *, int, ...); extern void errorv(const char *, int, va_list); -- 2.40.0