Fixed issue #15.
This was a bug in the antlr code generator.