Closes
This commit is contained in:
1 parent
65142fdfe3
commit
e5d818d9b2
14 files changed
+393
-39
No files matched your search
@@ -55,6 +55,7 @@ DbcDatabase DbcParser::ParseFile(const std::string &filePath) const {
|
||||
continue;
|
||||
|
||||
try {
|
||||
context.lineNumber = lineNumber;
|
||||
dispatcher.Dispatch(line, context);
|
||||
} catch (const std::exception &error) {
|
||||
throw std::runtime_error(filePath + ":" + std::to_string(lineNumber) +
|
||||
@@ -62,6 +63,7 @@ DbcDatabase DbcParser::ParseFile(const std::string &filePath) const {
|
||||
}
|
||||
}
|
||||
|
||||
context.ResolveValueDescriptions(filePath);
|
||||
return database;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user