Added hasflag to grammar and ANTLR