New grow and skid sounds from remaxim
[supertux.git] / src / squirrel / squirrel / sqcompiler.h
index b3658be..dd55888 100644 (file)
@@ -67,8 +67,11 @@ struct SQVM;
 #define TK_MODEQ 319
 #define TK_ATTR_OPEN 320
 #define TK_ATTR_CLOSE 321
+#define TK_STATIC 322
+#define TK_ENUM 323
+#define TK_CONST 324
 
 
-struct ParserException{ SQChar *desc; ParserException(SQChar *err):desc(err) {} };
+typedef void(*CompilerErrorFunc)(void *ud, const SQChar *s);
 bool Compile(SQVM *vm, SQLEXREADFUNC rg, SQUserPointer up, const SQChar *sourcename, SQObjectPtr &out, bool raiseerror, bool lineinfo);
 #endif //_SQCOMPILER_H_