r39071 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39070‎ | r39071 | r39072 >
Date:16:12, 10 August 2008
Author:river
Status:old
Tags:
Comment:
trailing whitespace on expr should not be an error
Modified paths:
  • /trunk/extensions/AbuseFilter/parser_native/parser.h (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/parser_native/parser.h
@@ -410,7 +410,7 @@
411411
412412 basic_datum<charT> ret;
413413
414 - tree_parse_info<iterator_t> info = ast_parse(filter.begin(), filter.end(), *grammar_,
 414+ tree_parse_info<iterator_t> info = ast_parse(filter.begin(), filter.end(), *grammar_ >> end_p,
415415 chset<>("\r\n\t ") | comment_p("/*", "*/"));
416416
417417 if (info.full) {
@@ -429,7 +429,7 @@
430430
431431 typedef typename basic_fray<charT>::const_iterator iterator_t;
432432
433 - tree_parse_info<iterator_t> info = ast_parse(filter.begin(), filter.end(), *grammar_,
 433+ tree_parse_info<iterator_t> info = ast_parse(filter.begin(), filter.end(), *grammar_ >> end_p,
434434 +chset<>("\n\t ") | comment_p("/*", "*/"));
435435
436436 if (info.full) {

Status & tagging log