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;
//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