summaryrefslogtreecommitdiff
path: root/Zend/zend_language_scanner.l
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-06-10 13:38:31 +0000
committerMarcus Boerger <helly@php.net>2004-06-10 13:38:31 +0000
commit4da11644de3d04c88bd1ed04bed5a46c83bb7c7a (patch)
tree84ac852ef1f0079c2df04e6fc8ecc56c952fa207 /Zend/zend_language_scanner.l
parentc756609658e7df972f02bd05bb4657f01c89b9dd (diff)
downloadphp-git-4da11644de3d04c88bd1ed04bed5a46c83bb7c7a.tar.gz
- Require a single white-space char after /** to start a doc comment that
way we prevent /*** from becoming a doc comment (as requested Derick).
Diffstat (limited to 'Zend/zend_language_scanner.l')
-rw-r--r--Zend/zend_language_scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_language_scanner.l b/Zend/zend_language_scanner.l
index 8ea022e0ba..ed69423136 100644
--- a/Zend/zend_language_scanner.l
+++ b/Zend/zend_language_scanner.l
@@ -1445,7 +1445,7 @@ NEWLINE ("\r"|"\n"|"\r\n")
}
}
-<ST_IN_SCRIPTING>"/**" {
+<ST_IN_SCRIPTING>"/**"WHITESPACE {
CG(comment_start_line) = CG(zend_lineno);
BEGIN(ST_DOC_COMMENT);
yymore();