more realloc problems pointed out by Ashwin Daniel

* parser.c: more realloc problems pointed out by Ashwin
Daniel

svn path=/trunk/; revision=3724
2 files changed