added sema for EXTERNAL stmt