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/Walker2.js
[gnome.introspection-doc-generator]
/
JSDOC
/
TokenReader.js
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 = "";
*/
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();
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(last);
}
- tokens.push(new Token(found, "WHIT", "NEWLINE",
this.
line));
+ tokens.push(new Token(found, "WHIT", "NEWLINE", line));
}
return true;
},
}
return true;
},