• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Demonstration of groff .psbb request handling code, for EPS and PDF input files


Commit MetaInfo

修訂7cf9469ac1d6b6df5730e3ee336620856f5286e2 (tree)
時間2017-10-11 20:24:05
作者Keith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Add DEBUGGING mode "next object" reference logging.

* psbblex.l (PDFSCANOBJECT): Add DEBUG_MSG request, to report the...
(PDFENDOBJ) [DEBUGGING]: ...next object to be scanned, after this.

Change Summary

差異

--- a/psbblex.l
+++ b/psbblex.l
@@ -553,7 +553,12 @@ static int pdf_trailer( void )
553553 */
554554 <PDFSCANOBJECT>{
555555 {SEP}*"<<" { yy_push_state( PDFDICT ); }
556-"endobj"/{SEP} { DEBUG_ECHO; RETURN(PDFENDOBJ); }
556+"endobj"/{SEP} { DEBUG_ECHO;
557+ DEBUG_MSG(("%d: next object reference: %d %d\n",
558+ YYSTATE, ref[0], ref[1]
559+ ));
560+ RETURN(PDFENDOBJ);
561+ }
557562 (.|\n)
558563 }
559564