X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fxpdf%2FLexer.h;h=f6ad9ce96999e088a822ae59dfb8383b5d2a9167;hb=c26ca847941ca0acfc9f3b4bdc519d904ba09a39;hp=8a01ab25e9ae96e80863e6e15d24d15e5e530543;hpb=50dd339d3d6262763616efe8d7ee415ab19befb9;p=swftools.git diff --git a/pdf2swf/xpdf/Lexer.h b/pdf2swf/xpdf/Lexer.h index 8a01ab2..f6ad9ce 100644 --- a/pdf2swf/xpdf/Lexer.h +++ b/pdf2swf/xpdf/Lexer.h @@ -2,14 +2,16 @@ // // Lexer.h // -// Copyright 1996-2002 Glyph & Cog, LLC +// Copyright 1996-2003 Glyph & Cog, LLC // //======================================================================== #ifndef LEXER_H #define LEXER_H -#ifdef __GNUC__ +#include + +#ifdef USE_GCC_PRAGMAS #pragma interface #endif @@ -60,6 +62,9 @@ public: void setPos(Guint pos, int dir = 0) { if (!curStr.isNone()) curStr.streamSetPos(pos, dir); } + // Returns true if is a whitespace character. + static GBool isSpace(int c); + private: int getChar();