petdance/scratch — Issue #1147: ops2c and a variable with "return" in its name
Author: petdance
Created: 2011-11-14 06:14:52+00:00
State: open
Labels: bug, Pri-minor, Sev-medium, tools

```
15:00 <@jnthn__> So it turns out that if you have a variable called returns or
return_type in an ops file, ops2c goes and wraps it up in an
extra level of parens, causing an innevitable C syntax error.
WTF.
15:01 <@jnthn__> foo->return_type ends up coming out as foo->(return_type)
15:01 <@jnthn__> Rename that to rtype and it works
15:01 <@jnthn__> :/
```

Originally http://trac.parrot.org/parrot/ticket/2147 by jonathan