aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-gr.h
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-12 11:40:47 +0200
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commitf2b0abbafc0fe14d038b04c61eb03a481550bba0 (patch)
tree8b6fde677395b80a42c9d7ed8e1c084a42ba8cde /engines/director/lingo/lingo-gr.h
parent824c3fb6616b9afa65ac3db5d2c8d97a26004dd8 (diff)
downloadscummvm-rg350-f2b0abbafc0fe14d038b04c61eb03a481550bba0.tar.gz
scummvm-rg350-f2b0abbafc0fe14d038b04c61eb03a481550bba0.tar.bz2
scummvm-rg350-f2b0abbafc0fe14d038b04c61eb03a481550bba0.zip
DIRECTOR: Lingo, added put/set functions and support for multiline input
Diffstat (limited to 'engines/director/lingo/lingo-gr.h')
-rw-r--r--engines/director/lingo/lingo-gr.h30
1 files changed, 20 insertions, 10 deletions
diff --git a/engines/director/lingo/lingo-gr.h b/engines/director/lingo/lingo-gr.h
index 5204868f4e..1cf31e05c0 100644
--- a/engines/director/lingo/lingo-gr.h
+++ b/engines/director/lingo/lingo-gr.h
@@ -40,18 +40,28 @@
know about them. */
enum yytokentype {
UNARY = 258,
- INT = 259,
- VAR = 260,
- STRING = 261,
- FUNC_MCI = 262
+ FLOAT = 259,
+ INT = 260,
+ VAR = 261,
+ STRING = 262,
+ OP_INTO = 263,
+ OP_TO = 264,
+ FUNC_MCI = 265,
+ FUNC_PUT = 266,
+ FUNC_SET = 267
};
#endif
/* Tokens. */
#define UNARY 258
-#define INT 259
-#define VAR 260
-#define STRING 261
-#define FUNC_MCI 262
+#define FLOAT 259
+#define INT 260
+#define VAR 261
+#define STRING 262
+#define OP_INTO 263
+#define OP_TO 264
+#define FUNC_MCI 265
+#define FUNC_PUT 266
+#define FUNC_SET 267
@@ -59,9 +69,9 @@
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 39 "engines/director/lingo/lingo-gr.y"
-{ int i; Common::String *s; }
+{ float f; int i; Common::String *s; }
/* Line 1529 of yacc.c. */
-#line 65 "engines/director/lingo/lingo-gr.hpp"
+#line 75 "engines/director/lingo/lingo-gr.hpp"
YYSTYPE;
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1