Mercurial > hg > xemacs-beta
diff src/doc.c @ 3545:2ba8b7a25429
[xemacs-hg @ 2006-08-06 16:37:31 by aidan]
Add an informative assertion and comment to snarf-documentation.
author | aidan |
---|---|
date | Sun, 06 Aug 2006 16:37:33 +0000 |
parents | 41c353ad2c74 |
children | 9b8943d0d12a |
line wrap: on
line diff
--- a/src/doc.c Sat Aug 05 08:30:36 2006 +0000 +++ b/src/doc.c Sun Aug 06 16:37:33 2006 +0000 @@ -742,6 +742,10 @@ if (p != end) { end = qxestrchr (p, '\n'); + /* If you trigger a failure with of this assertion, you probably + configured with --quick-build and need to to rebuild your DOC + file. */ + assert((end - p - 2) > -1); sym = oblookup (Vobarray, p + 2, end - p - 2); if (SYMBOLP (sym)) {