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:
54b836d
)
JSDOC/TokenReader.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 14 Jul 2010 08:18:22 +0000
(16:18 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 14 Jul 2010 08:18:22 +0000
(16:18 +0800)
JSDOC/TokenReader.js
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.js
b/JSDOC/TokenReader.js
index
ad4b371
..
f6c6725
100644
(file)
--- a/
JSDOC/TokenReader.js
+++ b/
JSDOC/TokenReader.js
@@
-23,7
+23,7
@@
TokenReader = XObject.define(
},
Object,
{
-
+ collapseWhite : false, // only reduces white space...
/**
* tokenize a stream
@@
-158,7
+158,9
@@
TokenReader = XObject.define(
return false;
}
else {
- if (this.collapseWhite) found = "\n";
+ if (this.collapseWhite) {
+ found = "\n";
+ }
if (this.keepWhite) {
tokens.push(new Token(found, "WHIT", "NEWLINE", this.line));
}