summaryrefslogtreecommitdiffstats
path: root/updater/updater.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2014-02-14 00:07:56 +0100
committerDoug Zongker <dougz@android.com>2014-02-14 00:34:18 +0100
commit0d32f259cddeaf46917bdc4af3514114c206dd76 (patch)
tree6d6a6f6793cd8a335dbc6f3d6ed21598748378dd /updater/updater.c
parentremove 'retouch' ASLR support (diff)
downloadandroid_bootable_recovery-0d32f259cddeaf46917bdc4af3514114c206dd76.tar
android_bootable_recovery-0d32f259cddeaf46917bdc4af3514114c206dd76.tar.gz
android_bootable_recovery-0d32f259cddeaf46917bdc4af3514114c206dd76.tar.bz2
android_bootable_recovery-0d32f259cddeaf46917bdc4af3514114c206dd76.tar.lz
android_bootable_recovery-0d32f259cddeaf46917bdc4af3514114c206dd76.tar.xz
android_bootable_recovery-0d32f259cddeaf46917bdc4af3514114c206dd76.tar.zst
android_bootable_recovery-0d32f259cddeaf46917bdc4af3514114c206dd76.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;