]> git.lyx.org Git - features.git/commitdiff
forgot to declare debugToken() in r37117
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 6 Jan 2011 18:36:03 +0000 (18:36 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 6 Jan 2011 18:36:03 +0000 (18:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37133 a592a061-630c-0410-9148-cb99ea01b6c8

src/Cursor.cpp
src/tex2lyx/Parser.h

index e08793c393f2ed8c88c2ffb615bfbd95094189d3..6ae9ec54464190ef3a3dd22b822dbff07c4a4bcc 100644 (file)
@@ -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)
index 63c1fcaf42d4cde5cb718eac29c5574911fd3a98..34354154678fed9045285a6c692397cee0600994 100644 (file)
@@ -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