Use `yy_scan_buffer', not `yy_scan_string'.