comparison compiler.js @ 60:ef3b34c2c0a4

Fix populatesymbols for parent property references. Fix lambda-style modules in cbackend.
author Mike Pavone <pavone@retrodev.com>
date Sat, 14 Jul 2012 03:05:12 -0700
parents 0fd06e077afe
children f57b2f4048d0
comparison
equal deleted inserted replaced
59:0fd06e077afe 60:ef3b34c2c0a4
269 }; 269 };
270 270
271 symbol.prototype.populateSymbols = function(symbols) { 271 symbol.prototype.populateSymbols = function(symbols) {
272 this.symbols = symbols; 272 this.symbols = symbols;
273 var ret = symbols.find(this.cleanName()); 273 var ret = symbols.find(this.cleanName());
274 if (ret && ret.type == 'self') { 274 if (ret && (ret.type == 'self' || ret.type == 'parent')) {
275 symbols.find('self'); 275 symbols.find('self');
276 } 276 }
277 } 277 }
278 278
279 intlit.prototype.populateSymbols = function(symbols) { 279 intlit.prototype.populateSymbols = function(symbols) {