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
(from parent 1:
bac49ce
)
pack.js
author
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:58:16 +0000
(13:58 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:58:16 +0000
(13:58 +0800)
pack.js
patch
|
blob
|
history
diff --git
a/pack.js
b/pack.js
index
c27db7e
..
017b3bc
100755
(executable)
--- a/
pack.js
+++ b/
pack.js
@@
-16,7
+16,7
@@
File = imports.File.File;
function pack(str)
{
- var tr = new TokenReader( { keepDocs :true, keepWhite : true, keepComments : true });
+ var tr = new TokenReader( { keepDocs :true, keepWhite : true, keepComments : true
, sepIdents : true
});
var toks = tr.tokenize(new TextStream(str) ); // dont merge xxx + . + yyyy etc.
var ts = new TokenStream(toks);
ts.dump();