#include "support/types.h"
#include <vector>
-#include <string>
namespace lyx {
int par_id;
pos_type pos_start;
pos_type pos_end;
+ Buffer const * buffer;
ErrorItem(docstring const & error, docstring const & description,
- int parid, pos_type posstart, pos_type posend);
+ int parid, pos_type posstart, pos_type posend,
+ Buffer const * buf = 0);
ErrorItem();
};
class ErrorList : private std::vector<ErrorItem>
{
public:
- ErrorList() : std::vector<ErrorItem> () {};
+ ErrorList() : std::vector<ErrorItem> () {}
using std::vector<ErrorItem>::push_back;
using std::vector<ErrorItem>::end;