summaryrefslogtreecommitdiffstats
path: root/updater/updater.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-02-18 18:48:19 +0100
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-18 18:48:19 +0100
commitf2ff0a2097cd945a612fb461741b803d2b5aca7a (patch)
tree7bc57a86cbf178d77f4790f76fa2e59d69defa7a /updater/updater.c
parentMerge "Fix a crash when going into recovery mode." (diff)
parentclean up some warnings when building recovery (diff)
downloadandroid_bootable_recovery-f2ff0a2097cd945a612fb461741b803d2b5aca7a.tar
android_bootable_recovery-f2ff0a2097cd945a612fb461741b803d2b5aca7a.tar.gz
android_bootable_recovery-f2ff0a2097cd945a612fb461741b803d2b5aca7a.tar.bz2
android_bootable_recovery-f2ff0a2097cd945a612fb461741b803d2b5aca7a.tar.lz
android_bootable_recovery-f2ff0a2097cd945a612fb461741b803d2b5aca7a.tar.xz
android_bootable_recovery-f2ff0a2097cd945a612fb461741b803d2b5aca7a.tar.zst
android_bootable_recovery-f2ff0a2097cd945a612fb461741b803d2b5aca7a.zip
Diffstat (limited to 'updater/updater.c')
-rw-r--r--updater/updater.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/updater/updater.c b/updater/updater.c
index 4e1cc9c38..b7af3e500 100644
--- a/updater/updater.c
+++ b/updater/updater.c
@@ -105,8 +105,7 @@ int main(int argc, char** argv) {
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;