2003-05-20 16:51:31 +00:00
|
|
|
/**
|
|
|
|
* \file errorlist.C
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Alfredo Braunstein
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-05-20 16:51:31 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include "errorlist.h"
|
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
using std::string;
|
|
|
|
|
2003-05-20 16:51:31 +00:00
|
|
|
|
|
|
|
ErrorItem::ErrorItem(string const & error, string const & description,
|
|
|
|
int par_id, int pos_start, int pos_end)
|
|
|
|
: error(error), description(description), par_id(par_id),
|
|
|
|
pos_start(pos_start), pos_end(pos_end)
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
ErrorItem::ErrorItem()
|
|
|
|
: par_id(-1), pos_start(0), pos_end(0)
|
|
|
|
{}
|