From 006a9068581ef939522c1a21a53ddf017bc39392 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Thu, 6 Jan 2011 18:36:03 +0000 Subject: [PATCH] forgot to declare debugToken() in r37117 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37133 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Cursor.cpp | 3 --- src/tex2lyx/Parser.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Cursor.cpp b/src/Cursor.cpp index e08793c393..6ae9ec5446 100644 --- a/src/Cursor.cpp +++ b/src/Cursor.cpp @@ -1215,9 +1215,6 @@ LyXErr & operator<<(LyXErr & os, Cursor const & cur) namespace lyx { -//#define FILEDEBUG 1 - - bool Cursor::isInside(Inset const * p) const { for (size_t i = 0; i != depth(); ++i) diff --git a/src/tex2lyx/Parser.h b/src/tex2lyx/Parser.h index 63c1fcaf42..3435415467 100644 --- a/src/tex2lyx/Parser.h +++ b/src/tex2lyx/Parser.h @@ -107,6 +107,10 @@ private: std::ostream & operator<<(std::ostream & os, Token const & t); +#ifdef FILEDEBUG +extern void debugToken(std::ostream & os, Token const & t, unsigned int flags); +#endif + /*! * Actual parser class -- 2.39.2