From 9c83cbb80b08dadb575c62790e4084f04307a2e5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 22 Sep 2017 17:39:56 +0200 Subject: Skip to next whitespace character instead of aborting when repairing PDF. --- source/pdf/pdf-lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/pdf/pdf-lex.c') diff --git a/source/pdf/pdf-lex.c b/source/pdf/pdf-lex.c index 34b08133..c823dca7 100644 --- a/source/pdf/pdf-lex.c +++ b/source/pdf/pdf-lex.c @@ -7,7 +7,7 @@ '+':case'-':case'.':case'0':case'1':case'2':case'3':\ case'4':case'5':case'6':case'7':case'8':case'9' #define IS_WHITE \ - '\000':case'\011':case'\012':case'\014':case'\015':case'\040' + '\x00':case'\x09':case'\x0a':case'\x0c':case'\x0d':case'\x20' #define IS_HEX \ '0':case'1':case'2':case'3':case'4':case'5':case'6':\ case'7':case'8':case'9':case'A':case'B':case'C':\ -- cgit v1.2.3