mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 17:56:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			417 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			417 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
 |