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:
0f7dc34
)
JSDOC/TokenReader.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 09:33:43 +0000
(17:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 09:33:43 +0000
(17:33 +0800)
JSDOC/TokenReader.vala
patch
|
blob
|
history
diff --git
a/JSDOC/TokenReader.vala
b/JSDOC/TokenReader.vala
index
c87f4ac
..
4ec980b
100644
(file)
--- a/
JSDOC/TokenReader.vala
+++ b/
JSDOC/TokenReader.vala
@@
-343,7
+343,7
@@
namespace JSDOC {
tokens.push(new Token(found, "WHIT", "NEWLINE", line));
}
return true;
tokens.push(new Token(found, "WHIT", "NEWLINE", line));
}
return true;
- }
,
+ }
/**
@returns {Boolean} Was the token found?
/**
@returns {Boolean} Was the token found?
@@
-369,7
+369,7
@@
namespace JSDOC {
// to start doclet we allow /** or /*** but not /**/ or /****
//if (found.length /^\/\*\*([^\/]|\*[^*])/.test(found) && this.keepDocs) {
// to start doclet we allow /** or /*** but not /**/ or /****
//if (found.length /^\/\*\*([^\/]|\*[^*])/.test(found) && this.keepDocs) {
- if (
(
this.keepDocs && found.length > 4 && found.index_of("/**") == 0 && found[3] != "/") {
+ if (this.keepDocs && found.length > 4 && found.index_of("/**") == 0 && found[3] != "/") {
tokens.push(new Token(found, "COMM", "JSDOC", this.line));
} else if (this.keepComments) {
tokens.push(new Token(found, "COMM", "MULTI_LINE_COMM", line));
tokens.push(new Token(found, "COMM", "JSDOC", this.line));
} else if (this.keepComments) {
tokens.push(new Token(found, "COMM", "MULTI_LINE_COMM", line));
@@
-439,7
+439,7
@@
namespace JSDOC {
}
return false;
}
return false;
- }
,
+ }
/**
@returns {Boolean} Was the token found?
/**
@returns {Boolean} Was the token found?