Update parser.cpp

edit partition