Changes in src/ResolvExpr/Resolver.cc [c86b08d:9feb34b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
rc86b08d r9feb34b 1730 1730 1731 1731 // Find all candidates for a function in canonical form 1732 funcFinder.find( clause.target , ResolvMode::withAdjustment() );1732 funcFinder.find( clause.target_func, ResolvMode::withAdjustment() ); 1733 1733 1734 1734 if ( funcFinder.candidates.empty() ) { 1735 1735 stringstream ss; 1736 1736 ss << "Use of undeclared indentifier '"; 1737 ss << clause.target .strict_as< ast::NameExpr >()->name;1737 ss << clause.target_func.strict_as< ast::NameExpr >()->name; 1738 1738 ss << "' in call to waitfor"; 1739 1739 SemanticError( stmt->location, ss.str() ); … … 1922 1922 auto clause2 = new ast::WaitForClause( clause.location ); 1923 1923 1924 clause2->target = funcCandidates.front()->expr;1924 clause2->target_func = funcCandidates.front()->expr; 1925 1925 1926 1926 clause2->target_args.reserve( clause.target_args.size() ); … … 1945 1945 1946 1946 // Resolve the conditions as if it were an IfStmt, statements normally 1947 clause2-> when_cond = findSingleExpression( clause.when_cond, context );1947 clause2->cond = findSingleExpression( clause.cond, context ); 1948 1948 clause2->stmt = clause.stmt->accept( *visitor ); 1949 1949
Note:
See TracChangeset
for help on using the changeset viewer.