aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan3/parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/alan3/parse.cpp')
-rw-r--r--engines/glk/alan3/parse.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/glk/alan3/parse.cpp b/engines/glk/alan3/parse.cpp
index f04b91040c..da9d7594f9 100644
--- a/engines/glk/alan3/parse.cpp
+++ b/engines/glk/alan3/parse.cpp
@@ -1437,7 +1437,7 @@ static void parseInstanceCommand(Parameter parameters[], Parameter multipleParam
/*======================================================================*/
-void parse(void) {
+void parse(CONTEXT) {
/* longjmp's ahead so these need to survive to not leak memory */
static Parameter *parameters = NULL;
static Parameter *multipleParameters = NULL;
@@ -1446,9 +1446,10 @@ void parse(void) {
if (endOfWords(currentWordIndex)) {
currentWordIndex = 0;
- scan();
- } else if (anyOutput)
+ CALL0(scan)
+ } else if (anyOutput) {
para();
+ }
capitalize = TRUE;