Mercurial > hg > xemacs-beta
diff src/syntax.c @ 88:821dec489c24 r20-0
Import from CVS: tag r20-0
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:09:59 +0200 |
parents | c7528f8e288d |
children | 3bb7ccffb0c0 |
line wrap: on
line diff
--- a/src/syntax.c Mon Aug 13 09:09:05 2007 +0200 +++ b/src/syntax.c Mon Aug 13 09:09:59 2007 +0200 @@ -1369,7 +1369,7 @@ error ("Nesting too deep for parser"); curlevel->prev = -1; curlevel->last = -1; - if (!--targetdepth) goto done; + if (targetdepth == depth) goto done; break; case Sclose: @@ -1379,7 +1379,7 @@ if (curlevel != levelstart) curlevel--; curlevel->prev = curlevel->last; - if (!++targetdepth) goto done; + if (targetdepth == depth) goto done; break; case Sstring: