Closes #29
This commit is contained in:
1 parent
a702cffd93
commit
8d06165979
18 files changed
+611
-215
No files matched your search
+2
-1
@@ -80,7 +80,7 @@ namespace {
|
||||
|
||||
DbcDiagnosticCode StatementErrorCode(const std::string &keyword) {
|
||||
if (keyword == "SG_MUL_VAL_")
|
||||
return DbcDiagnosticCode::UnsupportedStatement;
|
||||
return DbcDiagnosticCode::InvalidMultiplexing;
|
||||
if (keyword == "VAL_")
|
||||
return DbcDiagnosticCode::InvalidValueDescription;
|
||||
return DbcDiagnosticCode::InvalidStatement;
|
||||
@@ -173,6 +173,7 @@ DbcParseResult DbcParser::ParseFileWithDiagnostics(const std::string &filePath)
|
||||
try {
|
||||
context.ResolveComments(filePath);
|
||||
context.ResolveValueDescriptions(filePath);
|
||||
context.ResolveMultiplexing(filePath);
|
||||
context.ValidateMultiplexing(filePath);
|
||||
context.ResolveAttributes(filePath, result.diagnostics);
|
||||
} catch (const DbcDiagnosticError &error) {
|
||||
|
||||
Reference in new issue
Block a user