change warning output for parser.py