adds int literal to grammar