update parser.py

Fixed parsing with numbers having minus sign without spaces