summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>1999-09-12 15:38:06 +0000
committerSimon Tatham <anakin@pobox.com>1999-09-12 15:38:06 +0000
commit9972b0f0d1ce6e08ce6f9505980c9c889ae994bc (patch)
treecb867829840d4746c10d0fdba6409f1cf256d5c9 /error.c
parentd3c026f08f629659b5efe23fe8bffd3cf9b845f6 (diff)
downloadhalibut-9972b0f0d1ce6e08ce6f9505980c9c889ae994bc.zip
halibut-9972b0f0d1ce6e08ce6f9505980c9c889ae994bc.tar.gz
halibut-9972b0f0d1ce6e08ce6f9505980c9c889ae994bc.tar.bz2
halibut-9972b0f0d1ce6e08ce6f9505980c9c889ae994bc.tar.xz
More development...
[originally from svn r220]
Diffstat (limited to 'error.c')
-rw-r--r--error.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/error.c b/error.c
index 678ddaa..cc574cc 100644
--- a/error.c
+++ b/error.c
@@ -96,6 +96,11 @@ static void do_error(int code, va_list ap) {
sprintf(error, "expected `{' after command");
flags = FILEPOS;
break;
+ case err_commenteof:
+ fpos = *va_arg(ap, filepos *);
+ sprintf(error, "end of file unexpected inside `\\#{...}' comment");
+ flags = FILEPOS;
+ break;
case err_kwexprbr:
fpos = *va_arg(ap, filepos *);
sprintf(error, "expected `}' after cross-reference");