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:
5af9aea
)
pack.js
author
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:52:30 +0000
(13:52 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:52:30 +0000
(13:52 +0800)
pack.js
patch
|
blob
|
history
diff --git
a/pack.js
b/pack.js
index
1029fa4
..
3dbf8d7
100755
(executable)
--- a/
pack.js
+++ b/
pack.js
@@
-16,7
+16,7
@@
File = imports.File.File;
function pack(str)
{
- var tr = new TokenReader();
+ var tr = new TokenReader(
{ keepDocs :true, keepWhite : true, keepComments : true }
);
var toks = tr.tokenize(new TextStream(str),false); // dont merge xxx + . + yyyy etc.
var sp = new ScopeParser(new TokenStream(toks));
sp.buildSymbolTree();