/* This file is part of
- * ======================================================
+ * ======================================================
*
* LyX, The Document Processor
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-1999 The LyX Team.
+ * Copyright 1995-2000 The LyX Team.
*
- * ======================================================
+ * ======================================================
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
+#include <fstream>
#include "support/filetools.h"
#include "LaTeX.h"
#include "minibuffer.h"
#include "gettext.h"
+using std::ifstream;
+using std::getline;
+using std::endl;
+
extern BufferList bufferlist;
Literate::Literate(string const & latex, string const & f, string const & p,
}
-int Literate::build(TeXErrors & terr, MiniBuffer * minib)
+int Literate::build(TeXErrors & /*terr*/, MiniBuffer * minib)
// We know that this function will only be run if the lyx buffer
// has been changed.
{
retval |= LATEX_ERROR;
lyxerr[Debug::LATEX] << "Build Error." << endl;
// this is not correct yet
- num_errors++;
+ ++num_errors;
}
}
return retval;
retval |= LATEX_ERROR;
lyxerr[Debug::LATEX] << "Build Error." << endl;
// this is not correct yet
- num_errors++;
+ ++num_errors;
}
}
return retval;