jckarter/clay — Issue #49: bindgen doesn't check if parsed identifiers conflict with clay keywords
Author: Blei
Created: 2011-12-12 10:16:41+00:00
State: open

Example, test.h:

```c
struct foo {
int external;
};
```

produces the following code:

```
/* automatically generated by clay-bindgen */

record Struct_foo (
external : Int,
);
```

which fails with a parse error.

I'm not sure what the correct course of action would be. Maybe mangle everything that clashes with keywords to something like `originallyExternal`?