Fixed memory initialization directive handling and changed how 'IN' is differentiated from 'BEGIN'