diff options
author | furun <furun@arcor.de> | 2009-10-16 22:55:26 +0200 |
---|---|---|
committer | furun <furun@arcor.de> | 2009-10-16 22:55:26 +0200 |
commit | 47583ff0428eaa0d97e26f61f81ac6d199e9b446 (patch) | |
tree | 4cea7fd563437b0d55a1af3a0e59a659192d5d38 /inc/parser | |
parent | 623b29ddeb427ec79bc196f91198e5e8439f01e4 (diff) | |
download | rpg-47583ff0428eaa0d97e26f61f81ac6d199e9b446.tar.gz rpg-47583ff0428eaa0d97e26f61f81ac6d199e9b446.tar.bz2 |
Whitespace cleanup FS#1709
Ignore-this: 27ea52110bce929b2c61ed8faba67cfc
darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/handler.php | 4 | ||||
-rw-r--r-- | inc/parser/lexer.php | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php index c92dbe3d5..9527fd710 100644 --- a/inc/parser/handler.php +++ b/inc/parser/handler.php @@ -1117,7 +1117,7 @@ class Doku_Handler_Quote { } } else { if ($call[0] != 'quote_start') $this->quoteCalls[] = array('linebreak',array(),$call[2]); - } + } $quoteDepth = $quoteLength; @@ -1623,7 +1623,7 @@ class Doku_Handler_Block { $cname_plusone = $calls[$key+1][0]; if ($cname_plusone == 'plugin') { $cname_plusone = 'plugin'.$calls[$key+1][1][0]; - + // plugin test, true if plugin has a state which precludes it requiring blockOpen or blockClose $plugin_plusone = true; $plugin_test = ($call[$key+1][1][2] == DOKU_LEXER_MATCHED) || ($call[$key+1][1][2] == DOKU_LEXER_MATCHED); diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php index d2aaf407b..afd260a05 100644 --- a/inc/parser/lexer.php +++ b/inc/parser/lexer.php @@ -156,11 +156,11 @@ class Doku_LexerParallelRegex { for ($i = 0; $i < $cnt; $i++) { /* - * decompose the input pattern into "(", "(?", ")", - * "[...]", "[]..]", "[^]..]", "[...[:...:]..]", "\x"... + * decompose the input pattern into "(", "(?", ")", + * "[...]", "[]..]", "[^]..]", "[...[:...:]..]", "\x"... * elements. - */ - preg_match_all('/\\\\.|' . + */ + preg_match_all('/\\\\.|' . '\(\?|' . '[()]|' . '\[\^?\]?(?:\\\\.|\[:[^]]*:\]|[^]\\\\])*\]|' . @@ -171,7 +171,7 @@ class Doku_LexerParallelRegex { foreach ($elts[0] as $elt) { /* - * for "(", ")" remember the nesting level, add "\" + * for "(", ")" remember the nesting level, add "\" * only to the non-"(?" ones. */ |