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:
7541387
)
JSDOC/TokenStream.js
author
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:49:06 +0000
(13:49 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:49:06 +0000
(13:49 +0800)
JSDOC/TokenStream.js
patch
|
blob
|
history
diff --git
a/JSDOC/TokenStream.js
b/JSDOC/TokenStream.js
index
76f44c0
..
e16cb01
100644
(file)
--- a/
JSDOC/TokenStream.js
+++ b/
JSDOC/TokenStream.js
@@
-92,7
+92,11
@@
TokenStream = Object.define(
var i = this.cursor;
while (true) {
- if (i < 0) return false;
+ if (i < 0) {
+ if (n > -1) {
+ i = 0; continue;
+ }
+ }
else if (i > this.tokens.length) return false;
if (i != this.cursor && (this.tokens[i] === undefined || this.tokens[i].is("WHIT") || this.tokens[i].is("COMM"))) {