mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- Add GCCPRINTF to ZScript compiler code.
This will help spotting errors in code using ZCCCompiler::{Warn,Error}.
This commit is contained in:
parent
810c632beb
commit
8036719f45
1 changed files with 2 additions and 2 deletions
|
@ -135,8 +135,8 @@ private:
|
||||||
ZCC_ExprTypeRef *NodeFromSymbolType(PSymbolType *sym, ZCC_Expression *idnode);
|
ZCC_ExprTypeRef *NodeFromSymbolType(PSymbolType *sym, ZCC_Expression *idnode);
|
||||||
|
|
||||||
|
|
||||||
void Warn(ZCC_TreeNode *node, const char *msg, ...);
|
void Warn(ZCC_TreeNode *node, const char *msg, ...) GCCPRINTF(3,4);
|
||||||
void Error(ZCC_TreeNode *node, const char *msg, ...);
|
void Error(ZCC_TreeNode *node, const char *msg, ...) GCCPRINTF(3,4);
|
||||||
void MessageV(ZCC_TreeNode *node, const char *txtcolor, const char *msg, va_list argptr);
|
void MessageV(ZCC_TreeNode *node, const char *txtcolor, const char *msg, va_list argptr);
|
||||||
|
|
||||||
FxExpression *ConvertAST(PStruct *cclass, ZCC_TreeNode *ast);
|
FxExpression *ConvertAST(PStruct *cclass, ZCC_TreeNode *ast);
|
||||||
|
|
Loading…
Reference in a new issue