Added option to indicate that whole program is offered

This commit is contained in:
ceriel
1988-06-16 09:41:51 +00:00
parent ec551e2f36
commit dea600f9bf
3 changed files with 11 additions and 3 deletions

View File

@@ -24,6 +24,7 @@
#include "../share/go.h"
int calnr;
int complete_program;
calcnt_p cchead; /* call-count info of current proc */
STATIC short space = 0;
@@ -277,10 +278,15 @@ Sdiagnostics()
il_flags(p)
char *p;
{
if (*p++ == 's') {
switch(*p++) {
case 's':
while (*p != '\0') {
space = 10*space +*p++ -'0';
}
break;
case 'a':
complete_program = 1;
break;
}
}