diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-01-15 12:18:43 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-01-15 12:18:43 +0100 |
commit | 67f9913d4a386fe65c9e72ca452b0fa91b010b12 (patch) | |
tree | c2b6b10bb8eeae77e8340496758fb97307081d8e /inc/parser/lexer.php | |
parent | 8c5215b744582107f352aa4ccea4182296674250 (diff) | |
download | rpg-67f9913d4a386fe65c9e72ca452b0fa91b010b12.tar.gz rpg-67f9913d4a386fe65c9e72ca452b0fa91b010b12.tar.bz2 |
removed deprecated PHP4 construct
Assigning the return value of new by reference is deprecated, PHP5's new
automatically assigns by reference
Diffstat (limited to 'inc/parser/lexer.php')
-rw-r--r-- | inc/parser/lexer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php index afd260a05..211945d8f 100644 --- a/inc/parser/lexer.php +++ b/inc/parser/lexer.php @@ -295,7 +295,7 @@ class Doku_Lexer { $this->_case = $case; $this->_regexes = array(); $this->_parser = &$parser; - $this->_mode = &new Doku_LexerStateStack($start); + $this->_mode = new Doku_LexerStateStack($start); $this->_mode_handlers = array(); } |