PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Inline Images - Lexer not reading correctly https://forum.pdfsharp.net/viewtopic.php?f=3&t=2241 |
Page 1 of 1 |
Author: | Ixpah [ Sat Nov 24, 2012 2:16 pm ] |
Post subject: | Inline Images - Lexer not reading correctly |
I realise that its unfinished but the code that is currently there doesn't skip over the data correctly. This is all I wan to do, I have no interest in the image itself. Code: public CSymbol ScanInlineImage() { // TODO: while (this.currChar != 'E' && this.nextChar != 'I') ScanNextChar(); return CSymbol.None; } If I understand the purpose correctly its just looking for the EI (End Image) operator, but the loop will exit as soon as there is an 'E' or 'I' in the data. The && should really be a ||. |
Author: | Thomas Hoevel [ Mon Nov 26, 2012 1:09 pm ] |
Post subject: | Re: Inline Images - Lexer not reading correctly |
Hi! Ixpah wrote: The && should really be a ||. I guess you're correct.Thanks for the feedback. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |