"quit" calls quit rather than exit
authorMark Linton <linton@ucbvax.Berkeley.EDU>
Thu, 21 Jan 1982 09:01:30 +0000 (01:01 -0800)
committerMark Linton <linton@ucbvax.Berkeley.EDU>
Thu, 21 Jan 1982 09:01:30 +0000 (01:01 -0800)
SCCS-vsn: usr.bin/pascal/pdx/command/grammar.y 1.2

usr/src/usr.bin/pascal/pdx/command/grammar.y

index 793c998..d42cd33 100644 (file)
@@ -1,7 +1,7 @@
 %{
 /* Copyright (c) 1982 Regents of the University of California */
 
 %{
 /* Copyright (c) 1982 Regents of the University of California */
 
-static char sccsid[] = "@(#)grammar.y 1.1 %G%";
+static char sccsid[] = "@(#)grammar.y 1.2 %G%";
 
 /*
  * yacc grammar for debugger commands
 
 /*
  * yacc grammar for debugger commands
@@ -157,7 +157,7 @@ command:
 }
 |      QUIT
 {
 }
 |      QUIT
 {
-               exit(0);
+               quit(0);
 }
 |      STEP
 {
 }
 |      STEP
 {