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:
0c29937
)
JSDOC/ScopeParser.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Nov 2015 10:04:57 +0000
(18:04 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Nov 2015 10:04:57 +0000
(18:04 +0800)
JSDOC/ScopeParser.vala
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.vala
b/JSDOC/ScopeParser.vala
index
4f46dbd
..
459a6a0
100644
(file)
--- a/
JSDOC/ScopeParser.vala
+++ b/
JSDOC/ScopeParser.vala
@@
-264,7
+264,7
@@
namespace JSDOC {
if (this.mode == ScopeParserMode.BUILDING_SYMBOL_TREE) {
var identifier = scope.getIdentifier(token.data,token) ;
if (this.mode == ScopeParserMode.BUILDING_SYMBOL_TREE) {
var identifier = scope.getIdentifier(token.data,token) ;
- if (identifier ==
false
) {
+ if (identifier ==
null
) {
scope.declareIdentifier(token.data, token);
} else {
token.identifier = identifier;
scope.declareIdentifier(token.data, token);
} else {
token.identifier = identifier;
@@
-474,7
+474,7
@@
namespace JSDOC {
//println("GOT IDENT (2): <B>" + symbol + "</B><BR/>");
identifier = this.getIdentifier(symbol, scope, token);
//println("GOT IDENT (2): <B>" + symbol + "</B><BR/>");
identifier = this.getIdentifier(symbol, scope, token);
- if (identifier ==
false
) {
+ if (identifier ==
null
) {
// BUG!find out where builtin is defined...
if (symbol.length <= 3 && Scope.builtin.indexOf(symbol) < 0) {
// Here, we found an undeclared and un-namespaced symbol that is
// BUG!find out where builtin is defined...
if (symbol.length <= 3 && Scope.builtin.indexOf(symbol) < 0) {
// Here, we found an undeclared and un-namespaced symbol that is