diff options
author | Tor Andersson <tor@ghostscript.com> | 2008-10-02 23:28:25 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2008-10-02 23:28:25 +0200 |
commit | f9cd122bd24fdaf2793e996ca043259e3931346d (patch) | |
tree | cbaa7a8b5af5f84b543a073e34f2ee784b185e9b | |
parent | a24c2e9d163a56bd597bb9400607e494f8341c6e (diff) | |
download | mupdf-f9cd122bd24fdaf2793e996ca043259e3931346d.tar.xz |
Warn and continue after encountering unknown keywords.
-rw-r--r-- | mupdf/pdf_interpret.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mupdf/pdf_interpret.c b/mupdf/pdf_interpret.c index 60bf1185..73996294 100644 --- a/mupdf/pdf_interpret.c +++ b/mupdf/pdf_interpret.c @@ -966,7 +966,7 @@ Lsetcolor: { /* don't fail on unknown keywords if braced by BX/EX */ if (!csi->xbalance) - goto syntaxerror; + fz_warn("unknown keyword: %s", buf); } } @@ -1226,7 +1226,7 @@ Lsetcolor: default: /* don't fail on unknown keywords if braced by BX/EX */ if (!csi->xbalance) - goto syntaxerror; + fz_warn("unknown keyword: %s", buf); } return fz_okay; |