projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rconv.js
[gnome.introspection-doc-generator]
/
rconv.js
diff --git
a/rconv.js
b/rconv.js
index
9f88395
..
7eaab7d
100644
(file)
--- a/
rconv.js
+++ b/
rconv.js
@@
-21,7
+21,7
@@
var args = Array.prototype.slice.call(Seed.argv);
args.shift();
args.shift();
args.shift();
args.shift();
-print(JSON.stringify(args, null,4));
+
//
print(JSON.stringify(args, null,4));
//Seed.quit();
//Seed.quit();
@@
-30,7
+30,7
@@
var tr = new TokenReader( {
keepDocs :true,
keepWhite : true,
keepComments : true,
keepDocs :true,
keepWhite : true,
keepComments : true,
- sepIdents :
tru
e,
+ sepIdents :
fals
e,
collapseWhite : true,
filename : args[0]
});
collapseWhite : true,
filename : args[0]
});
@@
-39,10
+39,9
@@
var str = File.read(args[0])
var toks = tr.tokenize(new TextStream(str));
var toks = tr.tokenize(new TextStream(str));
-print(JSON.stringify(toks, null,4));
var rf = new RooFile(toks);
var rf = new RooFile(toks);
-
+//print(JSON.stringify(rf.tokens, null,4));
rf.parse();
print(JSON.stringify(rf.cfg, null,4));
\ No newline at end of file
rf.parse();
print(JSON.stringify(rf.cfg, null,4));
\ No newline at end of file