r87211 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87210‎ | r87211 | r87212 >
Date:19:39, 1 May 2011
Author:platonides
Status:reverted
Tags:
Comment:
Update to incorporate the Preprocessor change of r86072 of what is a lineStart
Modified paths:
  • /trunk/extensions/NativePreprocessor/preprocesstoobj.c (modified) (history)

Diff [purge]

Index: trunk/extensions/NativePreprocessor/preprocesstoobj.c
@@ -573,7 +573,7 @@
574574 if ( count >= rulemin ) {
575575 // Add it to the stack
576576 addNodeWithTags( found, count );
577 - parentNode->flags = (i > 0 && text[i-1] == '\n') /* lineStart boolean */;
 577+ parentNode->flags = (i == 0 || text[i-1] == '\n') /* lineStart boolean */;
578578 /* close char does not need to be stored per Known rules */
579579 parentNode->count = count;
580580 parentNode->argIndex = 0;

Follow-up revisions

RevisionCommit summaryAuthorDate
r87214Follow up r87211, update the unserializeNode() and fix flag resetting which w...platonides20:35, 1 May 2011
r101283Revert r87211 as r86072 which it was mimicking was also reverted in r96887....platonides21:13, 29 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86072Followup to r86064 (List with double line-breaks inside tables). Also contain...diebuche19:28, 14 April 2011

Status & tagging log