diff options
author | Paul Gilbert | 2019-07-01 20:56:55 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-06 15:27:09 -0700 |
commit | 5dea66231397c52afc7d2cdeae5989fd5edd0604 (patch) | |
tree | 6cd65d939d4051f0d0bade793f4598485547ad47 /engines/glk/alan3/syntax.cpp | |
parent | 18566feefcb9f4fa4d7395ffa6e6f2a6f0247d0e (diff) | |
download | scummvm-rg350-5dea66231397c52afc7d2cdeae5989fd5edd0604.tar.gz scummvm-rg350-5dea66231397c52afc7d2cdeae5989fd5edd0604.tar.bz2 scummvm-rg350-5dea66231397c52afc7d2cdeae5989fd5edd0604.zip |
GLK: ALAN3: Wrapping method calls in longjmp replacement macros
Diffstat (limited to 'engines/glk/alan3/syntax.cpp')
-rw-r--r-- | engines/glk/alan3/syntax.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/alan3/syntax.cpp b/engines/glk/alan3/syntax.cpp index 940c1ffe6e..a3c44c6bb0 100644 --- a/engines/glk/alan3/syntax.cpp +++ b/engines/glk/alan3/syntax.cpp @@ -69,7 +69,7 @@ static SyntaxEntry *findSyntaxEntry(int verbCode) { /*======================================================================*/ -SyntaxEntry *findSyntaxTreeForVerb(int verbCode) { +SyntaxEntry *findSyntaxTreeForVerb(CONTEXT, int verbCode) { SyntaxEntry *foundStx = NULL; if (isPreBeta2(header->version)) { foundStx = findSyntaxEntryForPreBeta2(verbCode, foundStx); @@ -77,8 +77,8 @@ SyntaxEntry *findSyntaxTreeForVerb(int verbCode) { foundStx = findSyntaxEntry(verbCode); } if (foundStx == NULL) - /* No matching syntax */ - error(M_WHAT); + // No matching syntax + R0CALL1(error, M_WHAT) return foundStx; } |