Skip to content
Snippets Groups Projects
Commit af4a43bc authored by James K. Lowden's avatar James K. Lowden :anchor:
Browse files

fix countervailing symbol-lookup error

parent 11ed1cd4
No related branches found
No related tags found
No related merge requests found
Pipeline #1256 passed
...@@ -381,7 +381,10 @@ symbol_match2( size_t program, ...@@ -381,7 +381,10 @@ symbol_match2( size_t program,
{ {
std::vector<size_t> fields; std::vector<size_t> fields;
for( auto e = symbols_begin(program) + 1; e != symbols_end(); e++ ) { auto e = symbols_begin(program);
if( is_program(*e) ) e++;
for( ; e != symbols_end(); e++ ) {
if( e->program != program ) break; if( e->program != program ) break;
if( e->type != SymField ) continue; if( e->type != SymField ) continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment