added ldparser.c