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 cbaa5f0 commit 693d235Copy full SHA for 693d235
src/model_parsers/TTAParser.cpp
@@ -331,8 +331,10 @@ TTA::GuardCollection TTAParser::ParseExternalVariablesUsedInGuardExpression(cons
331
for(auto& expr : expressions) {
332
// TODO: Parentheses fuck everything up. It should be fixed.
333
auto ge = ParseGuardExpression(expr);
334
- if(!ge)
+ if(!ge) {
335
+ spdlog::warn("Parsing guard expression failed: {0}", expr);
336
continue;
337
+ }
338
ge->tree_apply(doesExpressionContainExternalVariable);
339
if(doesExpressionContainExternalVariableBool) {
340
// Extract the expression only. TODO: Write a more flexible parser
0 commit comments