summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter-parser.h
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-11-29 13:56:08 -0700
committerFate <fate-tmw@googlemail.com>2008-11-29 13:56:08 -0700
commit7eb238fac9043bc9e850b5e881caa59d99f8c97a (patch)
tree389cb8b95345a6d28122d37fddcf780b824ef495 /src/map/magic-interpreter-parser.h
parentc41894ef2fd51dcc17e030536272fbf03f17f1a8 (diff)
downloadtmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.gz
tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.bz2
tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.tar.xz
tmwa-7eb238fac9043bc9e850b5e881caa59d99f8c97a.zip
SLang: Added `sqrt' function, permit looping over NPCs
Diffstat (limited to 'src/map/magic-interpreter-parser.h')
-rw-r--r--src/map/magic-interpreter-parser.h48
1 files changed, 25 insertions, 23 deletions
diff --git a/src/map/magic-interpreter-parser.h b/src/map/magic-interpreter-parser.h
index 9b84fa1..b2f0e66 100644
--- a/src/map/magic-interpreter-parser.h
+++ b/src/map/magic-interpreter-parser.h
@@ -79,17 +79,18 @@
ATEND = 295,
ATTRIGGER = 296,
PC_F = 297,
- MOB_F = 298,
- ENTITY_F = 299,
- TARGET_F = 300,
- IF = 301,
- THEN = 302,
- ELSE = 303,
- FOREACH = 304,
- FOR = 305,
- DO = 306,
- SLEEP = 307,
- OR = 308
+ NPC_F = 298,
+ MOB_F = 299,
+ ENTITY_F = 300,
+ TARGET_F = 301,
+ IF = 302,
+ THEN = 303,
+ ELSE = 304,
+ FOREACH = 305,
+ FOR = 306,
+ DO = 307,
+ SLEEP = 308,
+ OR = 309
};
#endif
/* Tokens. */
@@ -133,17 +134,18 @@
#define ATEND 295
#define ATTRIGGER 296
#define PC_F 297
-#define MOB_F 298
-#define ENTITY_F 299
-#define TARGET_F 300
-#define IF 301
-#define THEN 302
-#define ELSE 303
-#define FOREACH 304
-#define FOR 305
-#define DO 306
-#define SLEEP 307
-#define OR 308
+#define NPC_F 298
+#define MOB_F 299
+#define ENTITY_F 300
+#define TARGET_F 301
+#define IF 302
+#define THEN 303
+#define ELSE 304
+#define FOREACH 305
+#define FOR 306
+#define DO 307
+#define SLEEP 308
+#define OR 309
@@ -172,7 +174,7 @@ typedef union YYSTYPE
proc_t *proc;
}
/* Line 1489 of yacc.c. */
-#line 176 "magic-interpreter-parser.h"
+#line 178 "magic-interpreter-parser.h"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1