#define SSTDOC "sst.doc"
#endif
-static char line[128], *linep = line;
-
/*
Here are Tom Almy's changes:
*/
+/* the input queue */
+static char line[128], *linep = line;
+
static struct
{
char *name;
fclose(fp);
}
+void enqueue(char *s) {
+ strcpy(line, s);
+}
+
static void makemoves(void) {
int i, hitme;
clrscr();
commandhook(commands[i].name, TRUE);
switch (i) { /* command switch */
case SRSCAN: // srscan
- srscan(1);
+ srscan(SRSCAN);
break;
case LRSCAN: // lrscan
lrscan();