summaryrefslogtreecommitdiff
path: root/pdf/pdf_lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_lex.c')
-rw-r--r--pdf/pdf_lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_lex.c b/pdf/pdf_lex.c
index 23a5781f..84f584b0 100644
--- a/pdf/pdf_lex.c
+++ b/pdf/pdf_lex.c
@@ -457,5 +457,5 @@ pdf_lex(int *tok, fz_stream *f, char *buf, int n, int *sl)
cleanuperror:
*tok = PDF_TOK_ERROR;
- return fz_throw("lexical error");
+ return fz_error_make("lexical error");
}