forked from teamnwah/openmw-tes3coop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
367 B
C++
21 lines
367 B
C++
#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 ("") {}
|
|
};
|
|
}
|
|
|
|
#endif // TOKENLOC_H_INCLUDED
|