//print("in NAME 0: " + this.ts.look(0).toString());
//print("in NAME 2: " + this.ts.lookTok(2).toString());
- //print(this.ts.lookTok(0).data);
+ print(this.ts.lookTok(0).data);
// prefixed with '.'
if (this.ts.lookTok(0).data == ".") {
//skip '.'
// any conflict with other munged symbols.
this.globalScope.declareIdentifier(symbol, token);
this.warn("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')', true);
+ print("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')');
+ throw "OOPS";
} else {
print("undeclared:" + token.toString())
}