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 (from parent 1:
519a39e
)
JSDOC/TokenReader.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 15 Sep 2015 09:11:52 +0000
(17:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 15 Sep 2015 09:11:52 +0000
(17:11 +0800)
JSDOC/TokenReader.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.vala
b/JSDOC/TokenReader.vala
index
11a853a
..
e3e6096
100644
(file)
--- a/
JSDOC/TokenReader.vala
+++ b/
JSDOC/TokenReader.vala
@@
-290,9
+290,11
@@
namespace JSDOC {
}
//print("WHITE = " + JSON.stringify(found));
if (this.collapseWhite) {
}
//print("WHITE = " + JSON.stringify(found));
if (this.collapseWhite) {
- found = " "; // this might work better if it was a ';' ???
+ found = " "; // this might work better if it was a '\n' ???
+ }
+ if (this.keepWhite) {
+ tokens.push(new Token(found, "WHIT", "SPACE", this.line));
}
}
- if (this.keepWhite) tokens.push(new Token(found, "WHIT", "SPACE", this.line));
return true;
},
return true;
},