r80463 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80462‎ | r80463 | r80464 >
Date:20:47, 17 January 2011
Author:platonides
Status:ok
Tags:
Comment:
TODO comment fixed with r80461.
Modified paths:
  • /trunk/extensions/NativePreprocessor/preprocesstoobj.c (modified) (history)

Diff [purge]

Index: trunk/extensions/NativePreprocessor/preprocesstoobj.c
@@ -402,10 +402,7 @@
403403 enum internalTags internalTag;
404404 const char* name = text + i + 1;
405405 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+
410407 name_len = identifyTag(name, text_len - i - 1, parserStripList, &internalTag, lowername);
411408 if ( name_len == -1 ) { /* Does it make sense to allow 0-length tags? */
412409 addLiteral( text, i, 1 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r80461Follow up r80376. Added missing file FORMAT....platonides19:54, 17 January 2011

Status & tagging log