1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-15 22:49:48 +00:00
OpenMW/components/compiler/tokenloc.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
417 B
C++
Raw Normal View History

2010-06-27 17:20:21 +00:00
#ifndef COMPILER_TOKENLOC_H_INCLUDED
#define COMPILER_TOKENLOC_H_INCLUDED
#include <string>
namespace Compiler
{
/// \brief Location of a token in a source file
struct TokenLoc
{
int mColumn;
int mLine;
std::string mLiteral;
TokenLoc()
: mColumn(0)
, mLine(0)
, mLiteral()
{
}
2010-06-27 17:20:21 +00:00
};
}
#endif // TOKENLOC_H_INCLUDED