projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9dd85
)
fix 'Creation of dynamic property'
author
leon
<leon@roojs.com>
Mon, 22 May 2023 03:09:19 +0000
(11:09 +0800)
committer
leon
<leon@roojs.com>
Mon, 22 May 2023 03:09:19 +0000
(11:09 +0800)
Text/SearchParser.php
patch
|
blob
|
history
diff --git
a/Text/SearchParser.php
b/Text/SearchParser.php
index
1435b22
..
9ba7975
100644
(file)
--- a/
Text/SearchParser.php
+++ b/
Text/SearchParser.php
@@
-25,6
+25,7
@@
xxx: -- if xxx is not part of the 'map', then xxx: is dropped..
class Text_SearchParser
{
+ var $ar;
function __construct($str)
{
//var_dump($str);
@@
-317,6
+318,7
@@
class Text_SearchParser_Token {
class Text_SearchParser_Token_String extends Text_SearchParser_Token {
var $type = 's';
+ var $str;
function __construct($s) {
$this->str = $s;
}
@@
-340,6
+342,7
@@
class Text_SearchParser_Token_Keyword extends Text_SearchParser_Token {
class Text_SearchParser_Token_Op extends Text_SearchParser_Token { // AND || OR
var $type = '&&';
+ var $op;
function __construct($s) {
$this->op = $s;
}