summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2004-05-16 21:00:24 +0000
committerPierre Joye <pajoye@php.net>2004-05-16 21:00:24 +0000
commit9e9576ecfa75c88364f70cc9321349105b6ae2fe (patch)
treec8aee30a59fdb29112e7f20736bb0c04593eb99f /pear
parenta937ae4762aed0d6a48b226082a997416c93a273 (diff)
downloadphp-git-9e9576ecfa75c88364f70cc9321349105b6ae2fe.tar.gz
- T_WHITESPACE for the 1st test...
Diffstat (limited to 'pear')
-rw-r--r--pear/PEAR/Common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php
index edaf4c2104..4f0d8507f2 100644
--- a/pear/PEAR/Common.php
+++ b/pear/PEAR/Common.php
@@ -1407,7 +1407,7 @@ class PEAR_Common extends PEAR
}
continue 2;
case T_DOUBLE_COLON:
- if (!($tokens[$i - 1][0] == T_STRING || $tokens[$i - 1][0] == T_STRING)) {
+ if (!($tokens[$i - 1][0] == T_WHITESPACE || $tokens[$i - 1][0] == T_STRING)) {
PEAR::raiseError("Parser error: Invalid PHP file $file",
PEAR_COMMON_ERROR_INVALIDPHP);
return false;