Remove `private` scope for class constants.
This change branches from the merged patch by Sunil Mohan Adapa's for Debian's package.
This commit is contained in:
parent
03a337a660
commit
c8ac9dc7ea
|
@ -259,14 +259,14 @@ class PluralsParser {
|
||||||
* 0. However, ':' and ')' exist here to make sure that parsing does not
|
* 0. However, ':' and ')' exist here to make sure that parsing does not
|
||||||
* proceed beyond them when they are not to be parsed.
|
* proceed beyond them when they are not to be parsed.
|
||||||
*/
|
*/
|
||||||
private const PREC = [
|
const PREC = [
|
||||||
':' => -1, '?' => 0, '||' => 1, '&&' => 2, '==' => 3, '!=' => 3,
|
':' => -1, '?' => 0, '||' => 1, '&&' => 2, '==' => 3, '!=' => 3,
|
||||||
'>' => 4, '<' => 4, '>=' => 4, '<=' => 4, '+' => 5, '-' => 5, '*' => 6,
|
'>' => 4, '<' => 4, '>=' => 4, '<=' => 4, '+' => 5, '-' => 5, '*' => 6,
|
||||||
'/' => 6, '%' => 6, '!' => 7, '__END__' => -1, ')' => -1
|
'/' => 6, '%' => 6, '!' => 7, '__END__' => -1, ')' => -1
|
||||||
];
|
];
|
||||||
|
|
||||||
// List of right associative operators
|
// List of right associative operators
|
||||||
private const RIGHT_ASSOC = ['?'];
|
const RIGHT_ASSOC = ['?'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
Loading…
Reference in New Issue