Update SQUIRREL to 2.2.5
[supertux.git] / external / squirrel / squirrel / sqcompiler.h
old mode 100644 (file)
new mode 100755 (executable)
index dd55888..deab994
@@ -1,77 +1,77 @@
-/*     see copyright notice in squirrel.h */
-#ifndef _SQCOMPILER_H_
-#define _SQCOMPILER_H_
-
-struct SQVM;
-
-#define        TK_IDENTIFIER   258
-#define        TK_STRING_LITERAL       259
-#define        TK_INTEGER      260
-#define        TK_FLOAT        261
-#define        TK_DELEGATE     262
-#define        TK_DELETE       263
-#define        TK_EQ   264
-#define        TK_NE   265
-#define        TK_LE   266
-#define        TK_GE   267
-#define        TK_SWITCH       268
-#define        TK_ARROW        269
-#define        TK_AND  270
-#define        TK_OR   271
-#define        TK_IF   272
-#define        TK_ELSE 273
-#define        TK_WHILE        274
-#define        TK_BREAK        275
-#define        TK_FOR  276
-#define        TK_DO   277
-#define        TK_NULL 278
-#define        TK_FOREACH      279
-#define        TK_IN   280
-#define        TK_NEWSLOT      281
-#define        TK_MODULO       282
-#define        TK_LOCAL        283
-#define        TK_CLONE        284
-#define        TK_FUNCTION     285
-#define        TK_RETURN       286
-#define        TK_TYPEOF       287
-#define        TK_UMINUS       288
-#define        TK_PLUSEQ       289
-#define        TK_MINUSEQ      290
-#define        TK_CONTINUE     291
-#define TK_YIELD 292
-#define TK_TRY 293
-#define TK_CATCH 294
-#define TK_THROW 295
-#define TK_SHIFTL 296
-#define TK_SHIFTR 297
-#define TK_RESUME 298
-#define TK_DOUBLE_COLON 299
-#define TK_CASE 300
-#define TK_DEFAULT 301
-#define TK_THIS 302
-#define TK_PLUSPLUS 303
-#define TK_MINUSMINUS 304
-#define TK_PARENT 305
-#define TK_USHIFTR 306
-#define TK_CLASS 307
-#define TK_EXTENDS 308
-#define TK_CONSTRUCTOR 310
-#define TK_INSTANCEOF 311
-#define TK_VARPARAMS 312
-#define TK_VARGC 313
-#define TK_VARGV 314
-#define TK_TRUE 315
-#define TK_FALSE 316
-#define TK_MULEQ 317
-#define TK_DIVEQ 318
-#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
-
-
-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_
+/*     see copyright notice in squirrel.h */\r
+#ifndef _SQCOMPILER_H_\r
+#define _SQCOMPILER_H_\r
+\r
+struct SQVM;\r
+\r
+#define        TK_IDENTIFIER   258\r
+#define        TK_STRING_LITERAL       259\r
+#define        TK_INTEGER      260\r
+#define        TK_FLOAT        261\r
+#define        TK_DELEGATE     262\r
+#define        TK_DELETE       263\r
+#define        TK_EQ   264\r
+#define        TK_NE   265\r
+#define        TK_LE   266\r
+#define        TK_GE   267\r
+#define        TK_SWITCH       268\r
+#define        TK_ARROW        269\r
+#define        TK_AND  270\r
+#define        TK_OR   271\r
+#define        TK_IF   272\r
+#define        TK_ELSE 273\r
+#define        TK_WHILE        274\r
+#define        TK_BREAK        275\r
+#define        TK_FOR  276\r
+#define        TK_DO   277\r
+#define        TK_NULL 278\r
+#define        TK_FOREACH      279\r
+#define        TK_IN   280\r
+#define        TK_NEWSLOT      281\r
+#define        TK_MODULO       282\r
+#define        TK_LOCAL        283\r
+#define        TK_CLONE        284\r
+#define        TK_FUNCTION     285\r
+#define        TK_RETURN       286\r
+#define        TK_TYPEOF       287\r
+#define        TK_UMINUS       288\r
+#define        TK_PLUSEQ       289\r
+#define        TK_MINUSEQ      290\r
+#define        TK_CONTINUE     291\r
+#define TK_YIELD 292\r
+#define TK_TRY 293\r
+#define TK_CATCH 294\r
+#define TK_THROW 295\r
+#define TK_SHIFTL 296\r
+#define TK_SHIFTR 297\r
+#define TK_RESUME 298\r
+#define TK_DOUBLE_COLON 299\r
+#define TK_CASE 300\r
+#define TK_DEFAULT 301\r
+#define TK_THIS 302\r
+#define TK_PLUSPLUS 303\r
+#define TK_MINUSMINUS 304\r
+#define TK_PARENT 305\r
+#define TK_USHIFTR 306\r
+#define TK_CLASS 307\r
+#define TK_EXTENDS 308\r
+#define TK_CONSTRUCTOR 310\r
+#define TK_INSTANCEOF 311\r
+#define TK_VARPARAMS 312\r
+#define TK_VARGC 313\r
+#define TK_VARGV 314\r
+#define TK_TRUE 315\r
+#define TK_FALSE 316\r
+#define TK_MULEQ 317\r
+#define TK_DIVEQ 318\r
+#define TK_MODEQ 319\r
+#define TK_ATTR_OPEN 320\r
+#define TK_ATTR_CLOSE 321\r
+#define TK_STATIC 322\r
+#define TK_ENUM 323\r
+#define TK_CONST 324\r
+\r
+\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