projects
/
PHP_CodeDoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e325d88
)
CodeDoc/Parser.php
author
Alan Knowles
<alan@roojs.com>
Fri, 28 Oct 2016 08:18:51 +0000
(16:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 28 Oct 2016 08:18:51 +0000
(16:18 +0800)
CodeDoc/Parser.php
patch
|
blob
|
history
diff --git
a/CodeDoc/Parser.php
b/CodeDoc/Parser.php
index
1a01a1c
..
895da42
100644
(file)
--- a/
CodeDoc/Parser.php
+++ b/
CodeDoc/Parser.php
@@
-386,7
+386,7
@@
class PHP_CodeDoc_Parser {
* @returns false|STRING|constant
*/
- function look_nws($num
, $stop= ''
)
+ function look_nws($num)
{
$dir = $num > 0 ? 1 : -1;
if (!$num) {
@@
-403,7
+403,7
@@
class PHP_CodeDoc_Parser {
$p += $dir;
continue;
}
- if (
$stop != '' && $t == $stop) {
+ if (
is_string($t)) { // stop on puncutation...
return false;
}
$c++;