summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-27 20:34:17 +0200
committerandi <andi@splitbrain.org>2005-04-27 20:34:17 +0200
commitc1ebbe02a573889905262080f24039d4ef9579bb (patch)
treeef9e927be5077f1b7fe1b86633542b8f0ca64c35 /inc/parser
parent6e38d921735908d9d6597c57e94e967e47770bf4 (diff)
downloadrpg-c1ebbe02a573889905262080f24039d4ef9579bb.tar.gz
rpg-c1ebbe02a573889905262080f24039d4ef9579bb.tar.bz2
fixed broken lexer (stupid me! never push before testing)
darcs-hash:20050427183417-9977f-85591c2569c99e11b98c47512274702ff7e5d533.gz
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/lexer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php
index fb42ac27e..828d57bdf 100644
--- a/inc/parser/lexer.php
+++ b/inc/parser/lexer.php
@@ -107,7 +107,7 @@ class Doku_LexerParallelRegex {
*/
function _getCompoundedRegex() {
if ($this->_regex == null) {
- $cnt = $this->_patterns;
+ $cnt = count($this->_patterns);
for ($i = 0; $i < $cnt; $i++) {
// Replace lookaheads / lookbehinds with marker