X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FTokenReader.js;h=985180075873fe6f53098a2c79a6e768fc888ae4;hp=5294a06d18ba9e680c6c5abf970ed100e402913a;hb=752eae7a81a224a90421c5c19f89ea18837aae97;hpb=8cb1307c5442c26492ddcb453b812ea2e40e331c diff --git a/JSDOC/TokenReader.js b/JSDOC/TokenReader.js index 5294a06..9851800 100644 --- 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(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; @@ -260,7 +259,7 @@ const TokenReader = XObject.define( found = "\n"; } if (this.keepWhite) { - if(typeof(tokens) == 'undefined') {console.log('empty????');} + console.log(typeof(token)); var last = tokens.pop(); if (last && last.name != "WHIT") { tokens.push(last);