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:
c2ce08c
)
JSDOC/TokenReader.js
author
Edward
<edward@roojs.com>
Tue, 1 Apr 2014 05:08:20 +0000
(13:08 +0800)
committer
Edward
<edward@roojs.com>
Tue, 1 Apr 2014 05:08:20 +0000
(13:08 +0800)
JSDOC/TokenReader.js
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.js
b/JSDOC/TokenReader.js
index
fb22a3d
..
b5f46be
100644
(file)
--- a/
JSDOC/TokenReader.js
+++ b/
JSDOC/TokenReader.js
@@
-63,7
+63,6
@@
const TokenReader = XObject.define(
if (this.read_regx(stream, tokens)) continue;
if (this.read_numb(stream, tokens)) continue;
if (this.read_punc(stream, tokens)) continue;
if (this.read_regx(stream, tokens)) continue;
if (this.read_numb(stream, tokens)) continue;
if (this.read_punc(stream, tokens)) continue;
- if(typeof(tokens) == 'undefined') {console.log('empty????');}
if (this.read_newline(stream, tokens)) continue;
if (this.read_space(stream, tokens)) continue;
if (this.read_word(stream, tokens)) continue;
if (this.read_newline(stream, tokens)) continue;
if (this.read_space(stream, tokens)) continue;
if (this.read_word(stream, tokens)) continue;
@@
-260,7
+259,6
@@
const TokenReader = XObject.define(
found = "\n";
}
if (this.keepWhite) {
found = "\n";
}
if (this.keepWhite) {
- console.log(typeof(tokens));
var last = tokens.pop();
if (last && last.name != "WHIT") {
tokens.push(last);
var last = tokens.pop();
if (last && last.name != "WHIT") {
tokens.push(last);