Fixed some compilation bug and removed the reserved word 'default' from antlr.