parse language pragma correctly