projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56dd1c7
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 04:26:17 +0000
(12:26 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 04:26:17 +0000
(12:26 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
ad6ac3c
..
91ecdff
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-201,13
+201,13
@@
ScopeParser.prototype = {
if (this.dumpLine.scope == scope.length && this.dumpLine.brace == brace) {
this.dumpLine.str += ' ' + tok.data;
if (this.dumpLine.scope == scope.length && this.dumpLine.brace == brace) {
this.dumpLine.str += ' ' + tok.data;
- if (this.dumpLine.str.length < 80) {
- return;
+ if (this.dumpLine.str.length > 80 || tok.data ==';') {
+
+ print(
+ // (new Array(this.dumpLine.scope)).join(" ") + '|' +
+ (new Array(this.dumpLine.brace+1)).join(" ") + this.dumpLine.str);
+ this.dumpLine.str = '';
}
}
- print(
- // (new Array(this.dumpLine.scope)).join(" ") + '|' +
- (new Array(this.dumpLine.brace+1)).join(" ") + this.dumpLine.str);
- this.dumpLine.str = '';
return;
}
return;
}