MtDu has uploaded a new change for review.
https://gerrit.wikimedia.org/r/263571
Change subject: Call doOperation function correctly in
CLDRPluralRuleParser\Converter
......................................................................
Call doOperation function correctly in CLDRPluralRuleParser\Converter
Bug: T119191
Change-Id: Ib21d47925c9cee571307db4ccbb8e36dfa680dc6
---
M src/Converter.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/CLDRPluralRuleParser
refs/changes/71/263571/1
diff --git a/src/Converter.php b/src/Converter.php
index 06bcbaa..4bb87a2 100644
--- a/src/Converter.php
+++ b/src/Converter.php
@@ -145,7 +145,7 @@
// Resolve higher precedence levels
$lastOp = end( $this->operators );
while ( $lastOp &&
self::$precedence[$token->name] <= self::$precedence[$lastOp->name] ) {
- $this->doOperation( $lastOp,
$this->operands );
+ $this->doOperation( $lastOp );
array_pop( $this->operators );
$lastOp = end( $this->operators );
}
@@ -155,7 +155,7 @@
// Finish off the stack
while ( $op = array_pop( $this->operators ) ) {
- $this->doOperation( $op, $this->operands );
+ $this->doOperation( $op );
}
// Make sure the result is sane. The first case is possible for
an empty
--
To view, visit https://gerrit.wikimedia.org/r/263571
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib21d47925c9cee571307db4ccbb8e36dfa680dc6
Gerrit-PatchSet: 1
Gerrit-Project: CLDRPluralRuleParser
Gerrit-Branch: master
Gerrit-Owner: MtDu <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits