this.ident = lastIdent;
this.gid = Scope.gid++;
- print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP')) + ' : ' + token.toString());
+ print("ADD SCOPE(" + this.gid + ") TO "+ (parent ? this.parent.gid : 'TOP') + ' : ' +
+ (token ? token.toString() : ''));
if (parent) {
this.parent.subScopes.push(this);