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:
d1815ef
)
JSDOC/ScopeParser.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:58:09 +0000
(16:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:58:09 +0000
(16:58 +0800)
JSDOC/ScopeParser.vala
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.vala
b/JSDOC/ScopeParser.vala
index
05d7be7
..
471cfad
100644
(file)
--- a/
JSDOC/ScopeParser.vala
+++ b/
JSDOC/ScopeParser.vala
@@
-956,12
+956,13
@@
namespace JSDOC {
scope.preventMunging();
},
scope.preventMunging();
},
- string getIdentifier(symbol, scope, token) {
- var identifier;
+ string getIdentifier(string symbol, Scope scope, Token token)
+ {
+ string identifier;
while (scope != null) {
identifier = scope.getIdentifier(symbol, token);
//println("ScopeParser.getIdentgetUsedSymbols("+symbol+")=" + scope.getUsedSymbols().join(','));
while (scope != null) {
identifier = scope.getIdentifier(symbol, token);
//println("ScopeParser.getIdentgetUsedSymbols("+symbol+")=" + scope.getUsedSymbols().join(','));
- if (identifier) {
+ if (identifier
.length
) {
return identifier;
}
scope = scope.parent;
return identifier;
}
scope = scope.parent;