Avoid 'unsigned' types. line number.
This commit is contained in:
parent
ae933c20c7
commit
37d407641d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue