| 140 | } |
| 141 | |
| 142 | static void updateRepoIndexState( SyntaxDefinition& def, std::vector<SyntaxPattern>& ptrns ) { |
| 143 | for ( auto& ptrn : ptrns ) |
| 144 | if ( ptrn.isRepositoryInclude() ) |
| 145 | ptrn.repositoryIdx = def.getRepositoryIndex( ptrn.getRepositoryName() ); |
| 146 | } |
| 147 | |
| 148 | SyntaxDefinition::SyntaxDefinition() {} |
| 149 |
no test coverage detected