Added primitive for just setting the error markers, it leaves the analysed AST for that file as is.