this shouldn't be in svn
[supertux.git] / src / squirrel / squirrel / sqcompiler.h
index 1d29e96..ea0a831 100644 (file)
@@ -67,8 +67,9 @@ struct SQVM;
 #define TK_MODEQ 319\r
 #define TK_ATTR_OPEN 320\r
 #define TK_ATTR_CLOSE 321\r
+#define TK_STATIC 322\r
 \r
 \r
-struct ParserException{ SQChar *desc; ParserException(SQChar *err):desc(err) {} };\r
+typedef void(*CompilerErrorFunc)(void *ud, const SQChar *s);\r
 bool Compile(SQVM *vm, SQLEXREADFUNC rg, SQUserPointer up, const SQChar *sourcename, SQObjectPtr &out, bool raiseerror, bool lineinfo);\r
 #endif //_SQCOMPILER_H_\r