patrickt / pony

A source-to-source transformer for C99, written in Haskell.
Other
5 stars 0 forks source link

Assembly syntax/semantics are incomplete #46

Closed patrickt closed 13 years ago

patrickt commented 13 years ago

Though the current code covers the GNU extensions of this form: asm volatile? ("assembly" : "input operands" : "output operands" : "clobber list"); it doesn't provide for the fact that variables can appear in parentheses after the operand list, e.g. asm volatile? ("assembly" : "input operands" (foo) : "output operands" (bar) : "clobber list");

Thanks to @gparmer for pointing this out.

patrickt commented 13 years ago

This should be fixed with 15a61032ce756637d2e5; I need some test cases from @gparmer to verify it. Closing for now.