From cb775f9b2f26acb3bb34f357b778b42d70a39eb2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 12 Jun 2004 21:53:26 +0000 Subject: Enforce that \q may not be used anywhere within \c. It shouldn't be necessary since the whole point of \c should be that the user wants to exercise exact control over the glyphs used, and forbidding it has the useful effect of relieving some backends of having to make difficult decisions: it means the text backend doesn't have to nest two pairs of identical quotes, and the paper backends don't have to downgrade their quote characters if (as is perfectly plausible) the fixed-pitch font doesn't support the same range as the body text fonts. [originally from svn r4277] --- halibut.h | 1 + 1 file changed, 1 insertion(+) (limited to 'halibut.h') diff --git a/halibut.h b/halibut.h index dfd92c1..4c9a745 100644 --- a/halibut.h +++ b/halibut.h @@ -221,6 +221,7 @@ enum { err_explbr, /* expected `{' after command */ err_commenteof, /* EOF inside braced comment */ err_kwexprbr, /* expected `}' after cross-ref */ + err_codequote, /* \q within \c is not supported */ err_missingrbrace, /* unclosed braces at end of para */ err_missingrbrace2, /* unclosed braces at end of file */ err_nestedstyles, /* unable to nest text styles */ -- cgit v1.1