BSD 4_1_snap release
[unix-history] / usr / src / cmd / pc0 / yypanic.c
index 1f27f12..ece8ca3 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 1979 Regents of the University of California */
 
 /* Copyright (c) 1979 Regents of the University of California */
 
-static char sccsid[] = "@(#)yypanic.c 1.1 8/27/80";
+static char sccsid[] = "@(#)yypanic.c 1.2 3/8/81";
 
 #include "whoami.h"
 #include "0.h"
 
 #include "whoami.h"
 #include "0.h"
@@ -116,7 +116,7 @@ yyPerror(cp, kind)
                         * warnings.
                         */
                        case YID:
                         * warnings.
                         */
                        case YID:
-                               syneflg++;
+                               syneflg = TRUE;
                                continue;
 #endif
                }
                                continue;
 #endif
                }