diff options
author | Eugene Sandulenko | 2019-12-30 22:33:35 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-30 22:33:35 +0100 |
commit | c5b8aaa9491f4f6f00ca0901da12f7dfcd38c064 (patch) | |
tree | 6654d93b7541675563f4933d815dded584e03cf8 /engines/director/lingo/lingo-gr.y | |
parent | 91106f2097fcaebad84b33d25924b053d6ba5f5e (diff) | |
download | scummvm-rg350-c5b8aaa9491f4f6f00ca0901da12f7dfcd38c064.tar.gz scummvm-rg350-c5b8aaa9491f4f6f00ca0901da12f7dfcd38c064.tar.bz2 scummvm-rg350-c5b8aaa9491f4f6f00ca0901da12f7dfcd38c064.zip |
DIRECTOR: LINGO: Added new token, THEOBJECTFIELD, for 'the <entity> of <object>'
Diffstat (limited to 'engines/director/lingo/lingo-gr.y')
-rw-r--r-- | engines/director/lingo/lingo-gr.y | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-gr.y b/engines/director/lingo/lingo-gr.y index c97ee46cb1..93d61a58ad 100644 --- a/engines/director/lingo/lingo-gr.y +++ b/engines/director/lingo/lingo-gr.y @@ -89,6 +89,11 @@ void checkEnd(Common::String *token, const char *expect, bool required) { int code; int narg; /* number of arguments */ Common::Array<double> *arr; + + struct { + Common::String *s; + int e; + } objectfield; } %token UNARY @@ -98,7 +103,7 @@ void checkEnd(Common::String *token, const char *expect, bool required) { %token<f> FLOAT %token<s> BLTIN BLTINNOARGS BLTINNOARGSORONE BLTINONEARG BLTINARGLIST TWOWORDBUILTIN %token<s> FBLTIN FBLTINNOARGS FBLTINONEARG FBLTINARGLIST RBLTIN RBLTINONEARG -%token<s> ID STRING HANDLER SYMBOL +%token<s> ID STRING HANDLER SYMBOL THEOBJECTFIELD %token<s> ENDCLAUSE tPLAYACCEL tMETHOD %token tDOWN tELSE tELSIF tEXIT tGLOBAL tGO tIF tINTO tLOOP tMACRO %token tMOVIE tNEXT tOF tPREVIOUS tPUT tREPEAT tSET tTHEN tTO tWHEN |