commit | 0d32f259cddeaf46917bdc4af3514114c206dd76 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Thu Feb 13 15:07:56 2014 -0800 |
committer | Doug Zongker <dougz@android.com> | Thu Feb 13 15:34:18 2014 -0800 |
tree | 6d6a6f6793cd8a335dbc6f3d6ed21598748378dd | |
parent | a1bc148c7c81f886426c253f2ea7beb0f301f6b0 [diff] [blame] |
clean up some warnings when building recovery Change-Id: I1541534ee6978ddf8d548433986679ce9507d508
diff --git a/updater/updater.c b/updater/updater.c index 4e1cc9c..b7af3e5 100644 --- a/updater/updater.c +++ b/updater/updater.c
@@ -105,8 +105,7 @@ Expr* root; int error_count = 0; - yy_scan_string(script); - int error = yyparse(&root, &error_count); + int error = parse_string(script, &root, &error_count); if (error != 0 || error_count > 0) { printf("%d parse errors\n", error_count); return 6;