Fixed forward arc weight, now partly working with asr demo.
print error when lex not found.