diff options
author | Richard M. Stallman <[email protected]> | 1995-08-19 17:00:34 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1995-08-19 17:00:34 +0000 |
commit | 308444156d9bcce4183966183d11f1adc3a9e3d5 (patch) | |
tree | 214a43aa684e8733f839df2c095e6cd9b9f91e11 /src/syntax.c | |
parent | 903b7f655c275fb21c584ba3e7117508c4274897 (diff) |
(scan_sexps_forward): Fix previous change.
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c index ed482be484..34f76d76a4 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1534,7 +1534,7 @@ scan_sexps_forward (stateptr, from, end, targetdepth, 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 @@ scan_sexps_forward (stateptr, from, end, targetdepth, if (curlevel != levelstart) curlevel--; curlevel->prev = curlevel->last; - if (targetdepth != depth) goto done; + if (targetdepth == depth) goto done; break; case Sstring: |