projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/TokenReader.js
[gnome.introspection-doc-generator]
/
JSDOC
/
TokenReader.js
diff --git
a/JSDOC/TokenReader.js
b/JSDOC/TokenReader.js
index
c5ea304
..
4a12dda
100644
(file)
--- a/
JSDOC/TokenReader.js
+++ b/
JSDOC/TokenReader.js
@@
-162,10
+162,10
@@
TokenReader = XObject.define(
found = "\n";
}
if (this.keepWhite) {
found = "\n";
}
if (this.keepWhite) {
-
//var last = tokens.shift
();
-
//
if (last.name != "WHIT") {
-
//
tokens.push(last);
-
//
}
+
var last = tokens.pop
();
+ if (last.name != "WHIT") {
+ tokens.push(last);
+ }
tokens.push(new Token(found, "WHIT", "NEWLINE", this.line));
tokens.push(new Token(found, "WHIT", "NEWLINE", this.line));