summaryrefslogtreecommitdiff
path: root/tools/aidl/aidl.cpp
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2015-08-31 19:13:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-08-31 19:13:04 +0000
commita73e004516bae61bebe1e308f5b3ee295c1050b2 (patch)
tree1af579d299804fe15c7bd9e0a0f124eb45c61ed4 /tools/aidl/aidl.cpp
parent1643e97b330d6c0f47e8643e52b12c6887a89f81 (diff)
parentecaf21c3772befaac64f80bc3daeea0a29b59ddb (diff)
Merge "Revert "Tighten up compiler flags for aidl""
Diffstat (limited to 'tools/aidl/aidl.cpp')
-rw-r--r--tools/aidl/aidl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aidl/aidl.cpp b/tools/aidl/aidl.cpp
index d77f2b13dd97..a3cd12657f9a 100644
--- a/tools/aidl/aidl.cpp
+++ b/tools/aidl/aidl.cpp
@@ -165,6 +165,11 @@ import_import_parsed(buffer_type* statement)
{
}
+static ParserCallbacks g_importCallbacks = {
+ &main_document_parsed,
+ &import_import_parsed
+};
+
// ==========================================================
static int
check_filename(const char* filename, const char* package, buffer_type* name)