I have just noticed that in the file AccrualNewRn.hal there is a missing semicolon:
OutString(1,0,USetStr(13562),true);
EndFormat //missing semicolon here
ProcessVI(RepSpec,VIr,totfwdbal,pertotdeb,pertotcred,totdeb,totcred);
hmm, are semicolons not required an the end of the "sentence"?