bug fix in triton grammer
more test case for grammer