diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-01 15:09:24 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2015-01-01 15:09:24 +0100 |
commit | 386daea692688c7dd2bf021225c407ad4ded3133 (patch) | |
tree | da5271be8ca559abdb5af158fd9b9f9908639631 /src/core/Tokenizer.hpp | |
parent | 0d952e6cab7106ecf94a848f7261a3441ea2b241 (diff) |
Adapted Tokenizer to new Location types
Diffstat (limited to 'src/core/Tokenizer.hpp')
-rw-r--r-- | src/core/Tokenizer.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/Tokenizer.hpp b/src/core/Tokenizer.hpp index 33327cc..2b03e17 100644 --- a/src/core/Tokenizer.hpp +++ b/src/core/Tokenizer.hpp @@ -121,13 +121,13 @@ static const int TOKEN_TEXT = -2; struct Token { int tokenId; std::string content; - uint32_t startColumn; - uint32_t startLine; - uint32_t endColumn; - uint32_t endLine; + int startColumn; + int startLine; + int endColumn; + int endLine; - Token(int tokenId, std::string content, uint32_t startColumn, uint32_t startLine, - uint32_t endColumn, uint32_t endLine) + Token(int tokenId, std::string content, int startColumn, int startLine, + int endColumn, int endLine) : tokenId(tokenId), content(content), startColumn(startColumn), |