soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

Replace "Expand ... for throwException" with just "throwException" in codegen templates #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
Currently, throwing an exception within the codegen templates is done as
follows:
«EXPAND exception FOR throwException("I don't know what to do with frame
event " + name)»

However, this can actually be done this way:
«throwException("I don't know what to do with frame event " + name)»

What goal would this enhancement help you achieve?
We can remove the common "«DEFINE exception FOR Object»" templates in every
codegen template, and have smaller code.

Original issue reported on code.google.com by soundasleep on 1 Mar 2010 at 3:56

GoogleCodeExporter commented 9 years ago
Resolved in r1654.

Original comment by soundasleep on 10 Mar 2010 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by soundasleep on 18 Mar 2010 at 11:49