Index: trunk/extensions/AbuseFilter/parser_native/parser.h |
— | — | @@ -410,7 +410,7 @@ |
411 | 411 | |
412 | 412 | basic_datum<charT> ret; |
413 | 413 | |
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, |
415 | 415 | chset<>("\r\n\t ") | comment_p("/*", "*/")); |
416 | 416 | |
417 | 417 | if (info.full) { |
— | — | @@ -429,7 +429,7 @@ |
430 | 430 | |
431 | 431 | typedef typename basic_fray<charT>::const_iterator iterator_t; |
432 | 432 | |
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, |
434 | 434 | +chset<>("\n\t ") | comment_p("/*", "*/")); |
435 | 435 | |
436 | 436 | if (info.full) { |