Reduce number of shift/reduce conflicts in matrix parser.