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:
f3b4a6e
)
JSDOC/TokenReader.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 07:21:04 +0000
(15:21 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 07:21:04 +0000
(15:21 +0800)
JSDOC/TokenReader.js
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.js
b/JSDOC/TokenReader.js
index
6a71e19
..
9c95240
100644
(file)
--- a/
JSDOC/TokenReader.js
+++ b/
JSDOC/TokenReader.js
@@
-149,7
+149,7
@@
TokenReader = XObject.define(
*/
read_newline : function(/**JSDOC.TokenStream*/stream, tokens) {
var found = "";
-
+ var line = this.line;
while (!stream.look().eof && Lang.isNewline(stream.look())) {
this.line++;
found += stream.next();
@@
-168,7
+168,7
@@
TokenReader = XObject.define(
tokens.push(last);
}
- tokens.push(new Token(found, "WHIT", "NEWLINE",
this.
line));
+ tokens.push(new Token(found, "WHIT", "NEWLINE", line));
}
return true;
},