#include "tex2lyx.h"
+#include "support/assert.h"
#include "support/convert.h"
#include "support/lstrings.h"
#include <vector>
#include <map>
+using namespace std;
namespace lyx {
-using std::cerr;
-using std::endl;
-using std::istringstream;
-using std::ostream;
-using std::ostringstream;
-using std::string;
-using std::vector;
-
-
// filled in preamble.cpp
-std::map<char, int> special_columns;
+map<char, int> special_columns;
namespace {
bool parse_hlines(Parser & p, Token const & t, string & hlines,
bool is_long_tabular)
{
- BOOST_ASSERT(t.cat() == catEscape);
+ LASSERT(t.cat() == catEscape, return false);
if (t.cs() == "hline")
hlines += "\\hline";