cvs: Zend / zend_operators.c
| From: | Sascha Schumann | Date: | Sun, 14 Jul 2002 11:46:59 +0000 |
| Subject: | cvs: Zend / zend_operators.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-247@lists.php.net to get a copy of this message | ||
sas Sun Jul 14 07:46:59 2002 EDT
Modified files:
/Zend zend_operators.c
Log:
testing considered harmful.
compiles now again
Index: Zend/zend_operators.c
diff -u Zend/zend_operators.c:1.120 Zend/zend_operators.c:1.121
--- Zend/zend_operators.c:1.120 Sun Jul 14 05:35:38 2002
+++ Zend/zend_operators.c Sun Jul 14 07:46:59 2002
@@ -1443,7 +1443,7 @@
{
switch (op1->type) {
case IS_BOOL:
- if (!op->value.lval) {
+ if (!op1->value.lval) {
op1->value.lval = 1;
}
break;
@@ -1510,7 +1510,7 @@
switch (op1->type) {
case IS_BOOL:
- if (op->value.lval) {
+ if (op1->value.lval) {
op1->value.lval = 0;
} else {
op1->value.lval = 1;