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:
cec8dfd
)
JSDOC/TokenReader.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 15 Sep 2015 09:12:52 +0000
(17:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 15 Sep 2015 09:12:52 +0000
(17:12 +0800)
JSDOC/TokenReader.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.vala
b/JSDOC/TokenReader.vala
index
e3e6096
..
bbdc179
100644
(file)
--- a/
JSDOC/TokenReader.vala
+++ b/
JSDOC/TokenReader.vala
@@
-288,7
+288,11
@@
namespace JSDOC {
if (found === "") {
return false;
}
if (found === "") {
return false;
}
- //print("WHITE = " + JSON.stringify(found));
+ //print("WHITE = " + JSON.stringify(found));
+
+ // if we found a new line, then we could check if previous character was a ';' - if so we can drop it.
+ // otherwise generally keep it.. in which case it should reduce our issue with stripping new lines..
+
if (this.collapseWhite) {
found = " "; // this might work better if it was a '\n' ???
}
if (this.collapseWhite) {
found = " "; // this might work better if it was a '\n' ???
}