summaryrefslogtreecommitdiff
path: root/pdf/pdf_int.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_int.c')
-rw-r--r--pdf/pdf_int.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/pdf_int.c b/pdf/pdf_int.c
index 4d5ca2fd5..fe71881ca 100644
--- a/pdf/pdf_int.c
+++ b/pdf/pdf_int.c
@@ -135,6 +135,7 @@ int pdfi_skip_eol(pdf_context *ctx, pdf_c_stream *s)
return 0;
if (c >= 0)
pdfi_unread_byte(ctx, s, (byte)c);
+ pdfi_set_warning(ctx, 0, NULL, W_PDF_STREAM_BAD_KEYWORD, "pdfi_skip_eol", NULL);
return 0;
}