Avoid 'unsigned' types. line number.

This commit is contained in:
Daniel Marjamäki 2019-07-13 06:27:40 +02:00
parent ae933c20c7
commit 37d407641d
1 changed files with 4 additions and 4 deletions

View File

@ -193,12 +193,12 @@ public:
: fileIndex(0), line(0), col(0) {
}
FileLocation(const std::string &file, unsigned int aline)
: fileIndex(0), line(aline), col(0), mOrigFileName(file), mFileName(file) {
FileLocation(const std::string &file, int line)
: fileIndex(0), line(line), col(0), mOrigFileName(file), mFileName(file) {
}
FileLocation(const std::string &file, const std::string &info, unsigned int aline)
: fileIndex(0), line(aline), col(0), mOrigFileName(file), mFileName(file), mInfo(info) {
FileLocation(const std::string &file, const std::string &info, int line)
: fileIndex(0), line(line), col(0), mOrigFileName(file), mFileName(file), mInfo(info) {
}
FileLocation(const Token* tok, const TokenList* tokenList);