Index: trunk/extensions/NativePreprocessor/preprocesstoobj.c |
— | — | @@ -402,10 +402,7 @@ |
403 | 403 | enum internalTags internalTag; |
404 | 404 | const char* name = text + i + 1; |
405 | 405 | int name_len; |
406 | | - /* TODO: optimize this search by not going further than |
407 | | - * max( strlen( getParserStripList() + internalTags() ) ) |
408 | | - * while not setting noMoreGT in such case. |
409 | | - */ |
| 406 | + |
410 | 407 | name_len = identifyTag(name, text_len - i - 1, parserStripList, &internalTag, lowername); |
411 | 408 | if ( name_len == -1 ) { /* Does it make sense to allow 0-length tags? */ |
412 | 409 | addLiteral( text, i, 1 ); |