added supplied bison parser
reordered match operation