Added a check for a scanf that knows about %as.