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:
9d29e8b
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Jul 2010 06:06:59 +0000
(14:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Jul 2010 06:06:59 +0000
(14:06 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
fb787b9
..
6131c21
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-526,7
+526,7
@@
ScopeParser.prototype = {
if (token.type != 'KEYW') {
break;
}
if (token.type != 'KEYW') {
break;
}
- print('SCOPE-KEYW:' + token.toString());
+
//
print('SCOPE-KEYW:' + token.toString());
// print("Check eval:");
symbol = token.data;
// print("Check eval:");
symbol = token.data;
@@
-535,7
+535,7
@@
ScopeParser.prototype = {
if (token.name == "EVAL") {
if (token.name == "EVAL") {
- print(JSON.stringify(token, null,4));
+
//
print(JSON.stringify(token, null,4));
// look back one and see if we can find a comment!!!
//if (this.ts.look(-1).type == "COMM") {
if (token.prefix && token.prefix.match(/eval/)) {
// look back one and see if we can find a comment!!!
//if (this.ts.look(-1).type == "COMM") {
if (token.prefix && token.prefix.match(/eval/)) {
@@
-785,7
+785,7
@@
ScopeParser.prototype = {
symbol = token.data;
symbol = token.data;
-
//
if (this.mode == 'BUILDING_SYMBOL_TREE') {
+ if (this.mode == 'BUILDING_SYMBOL_TREE') {
if (token.name == "EVAL") {
//print(JSON.stringify(token,null,4));
if (token.name == "EVAL") {
//print(JSON.stringify(token,null,4));
@@
-816,7
+816,7
@@
ScopeParser.prototype = {
}
break;
}
break;
-
//
}
+ }
default:
//if (this.mode == 'BUILDING_SYMBOL_TREE')
// print("EXPR-SKIP:" + JSON.stringify(token, null, 4));
default:
//if (this.mode == 'BUILDING_SYMBOL_TREE')
// print("EXPR-SKIP:" + JSON.stringify(token, null, 4));