Mercurial > repos > tabletprog
comparison cbackend.js @ 211:53cd9c3bcf96
Don't compile quote expressions in C backend for now
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 30 Nov 2013 15:04:52 -0800 |
parents | ab7c142090a0 |
children | c50f77de41d1 |
comparison
equal
deleted
inserted
replaced
210:d0848563f25d | 211:53cd9c3bcf96 |
---|---|
210 } else if(this.args[0] instanceof symbol) { | 210 } else if(this.args[0] instanceof symbol) { |
211 return this.args[0].name; | 211 return this.args[0].name; |
212 } else { | 212 } else { |
213 throw new Error("Unexpected AST type for foreign:"); | 213 throw new Error("Unexpected AST type for foreign:"); |
214 } | 214 } |
215 } else if(name == 'llProperty:withType' || name == 'llProperty:withVars:andCode') { | 215 } else if(name == 'llProperty:withType' || name == 'llProperty:withVars:andCode' || name == 'quote') { |
216 return null; | 216 return null; |
217 } | 217 } |
218 var args = this.args.slice(0, this.args.length); | 218 var args = this.args.slice(0, this.args.length); |
219 if (this.receiver) { | 219 if (this.receiver) { |
220 args.splice(0, 0, this.receiver); | 220 args.splice(0, 0, this.receiver); |