fix bug in lani.y and fix parser specs for hashes