We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9756d commit ca242d5Copy full SHA for ca242d5
include/ParsingUtils.h
@@ -9,15 +9,15 @@
9
void throwError(const std::string& category, const std::string& description,
10
unsigned long long line) {
11
throw CANDatabaseException(
12
- category + ": " + description + " at line " + std::to_string(line)
+ category + ": " + description + " at line " + std::to_string(line + 1)
13
);
14
}
15
16
void warning(const std::string& description, unsigned long long line) {
17
- std::cout << "WARNING: "
+ std::cerr << "WARNING: "
18
<< description
19
<< " at line "
20
- << line
+ << line + 1
21
<< std::endl;
22
23
0 commit comments