Index: trunk/phase3/includes/parser/Preprocessor_Hash.php |
— | — | @@ -1186,8 +1186,7 @@ |
1187 | 1187 | var $numberedExpansionCache, $namedExpansionCache; |
1188 | 1188 | |
1189 | 1189 | function __construct( $preprocessor, $parent = false, $numberedArgs = array(), $namedArgs = array(), $title = false ) { |
1190 | | - $this->preprocessor = $preprocessor; |
1191 | | - $this->parser = $preprocessor->parser; |
| 1190 | + PPFrame_Hash::__construct( $preprocessor ); |
1192 | 1191 | $this->parent = $parent; |
1193 | 1192 | $this->numberedArgs = $numberedArgs; |
1194 | 1193 | $this->namedArgs = $namedArgs; |
— | — | @@ -1299,8 +1298,7 @@ |
1300 | 1299 | var $args; |
1301 | 1300 | |
1302 | 1301 | function __construct( $preprocessor, $args ) { |
1303 | | - $this->preprocessor = $preprocessor; |
1304 | | - $this->parser = $preprocessor->parser; |
| 1302 | + PPFrame_Hash::__construct( $preprocessor ); |
1305 | 1303 | $this->args = $args; |
1306 | 1304 | } |
1307 | 1305 | |
Index: trunk/phase3/includes/parser/Preprocessor_DOM.php |
— | — | @@ -1239,8 +1239,7 @@ |
1240 | 1240 | var $numberedExpansionCache, $namedExpansionCache; |
1241 | 1241 | |
1242 | 1242 | function __construct( $preprocessor, $parent = false, $numberedArgs = array(), $namedArgs = array(), $title = false ) { |
1243 | | - $this->preprocessor = $preprocessor; |
1244 | | - $this->parser = $preprocessor->parser; |
| 1243 | + PPFrame_DOM::__construct( $preprocessor ); |
1245 | 1244 | $this->parent = $parent; |
1246 | 1245 | $this->numberedArgs = $numberedArgs; |
1247 | 1246 | $this->namedArgs = $namedArgs; |
— | — | @@ -1352,8 +1351,7 @@ |
1353 | 1352 | var $args; |
1354 | 1353 | |
1355 | 1354 | function __construct( $preprocessor, $args ) { |
1356 | | - $this->preprocessor = $preprocessor; |
1357 | | - $this->parser = $preprocessor->parser; |
| 1355 | + PPFrame_DOM::__construct( $preprocessor ); |
1358 | 1356 | $this->args = $args; |
1359 | 1357 | } |
1360 | 1358 | |