Mercurial > hg > xemacs-beta
diff src/syntax.c @ 16:0293115a14e9 r19-15b91
Import from CVS: tag r19-15b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:20 +0200 |
parents | ac2d302a0011 |
children | 859a2309aef8 |
line wrap: on
line diff
--- a/src/syntax.c Mon Aug 13 08:48:43 2007 +0200 +++ b/src/syntax.c Mon Aug 13 08:49:20 2007 +0200 @@ -1367,7 +1367,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: @@ -1377,7 +1377,7 @@ if (curlevel != levelstart) curlevel--; curlevel->prev = curlevel->last; - if (!++targetdepth) goto done; + if (targetdepth == depth) goto done; break; case Sstring: