Mercurial > emacs
diff src/syntax.c @ 12894:b2a75405de3c
(scan_sexps_forward): Fix previous change.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 19 Aug 1995 17:00:34 +0000 |
| parents | 1372454cb5e5 |
| children | fd14ccddb85a |
line wrap: on
line diff
--- a/src/syntax.c Sat Aug 19 16:59:43 1995 +0000 +++ b/src/syntax.c Sat Aug 19 17:00:34 1995 +0000 @@ -1534,7 +1534,7 @@ error ("Nesting too deep for parser"); curlevel->prev = -1; curlevel->last = -1; - if (targetdepth != depth) goto done; + if (targetdepth == depth) goto done; break; case Sclose: @@ -1544,7 +1544,7 @@ if (curlevel != levelstart) curlevel--; curlevel->prev = curlevel->last; - if (targetdepth != depth) goto done; + if (targetdepth == depth) goto done; break; case Sstring:
