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:
46b98fb
)
JSDOC/TokenReader.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 14 Jul 2010 08:22:17 +0000
(16:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 14 Jul 2010 08:22:17 +0000
(16:22 +0800)
JSDOC/TokenReader.js
patch
|
blob
|
history
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) {
-
//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));