Added def and cin to the parser, the code needs changing to compile with g++ and not gcc