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:
ddac930
)
JSDOC/Packer.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 2 Nov 2015 09:32:48 +0000
(17:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 2 Nov 2015 09:32:48 +0000
(17:32 +0800)
JSDOC/Packer.vala
patch
|
blob
|
history
diff --git
a/JSDOC/Packer.vala
b/JSDOC/Packer.vala
index
50e5af9
..
138f1db
100644
(file)
--- a/
JSDOC/Packer.vala
+++ b/
JSDOC/Packer.vala
@@
-356,25
+356,21
@@
namespace JSDOC
void packFile (string str,string fn, string minfile)
{
void packFile (string str,string fn, string minfile)
{
- var tr = new TokenReader( {
- keepDocs :true,
- keepWhite : true,
- keepComments : true,
- sepIdents : true,
- collapseWhite : false,
- filename : fn
- });
+ var tr = new TokenReader();
+ tr.keepDocs =true;
+ tr.keepWhite = true;
+ tr.keepComments = true;
+ tr.sepIdents = true;
+ tr.collapseWhite = false;
+ tr.filename = fn;
+
this.timerPrint("START" + fn);
// we can load translation map here...
var toks = tr.tokenize(new TextStream(str)); // dont merge xxx + . + yyyy etc.
this.timerPrint("START" + fn);
// we can load translation map here...
var toks = tr.tokenize(new TextStream(str)); // dont merge xxx + . + yyyy etc.
- // at this point we can write a language file...
- if (this.translateJSON) {
-
- this.writeTranslateFile(fn, minfile, toks);
- }
+
this.activeFile = fn;
this.activeFile = fn;