commit | d1b5efbeb35f18fddfec2767e627aecbdcd4d733 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Dec 02 12:11:00 2019 -0800 |
committer | android-build-merger <android-build-merger@google.com> | Mon Dec 02 12:11:00 2019 -0800 |
tree | 00de1ffc501b234b0845ef7afe8a1a0c311b10db | |
parent | bd8adeef10fa0c64bdf27d6b853d7f8265ad381b [diff] | |
parent | 4ff04aa17a60f59a84281f691343aa887ff76a73 [diff] |
Avoid fatal error on ERROR type. am: 4ff04aa17a Change-Id: I8f6ff112c0a42b2cfb98f0eea2329d4d48eb2268
diff --git a/aidl_const_expressions.cpp b/aidl_const_expressions.cpp index 64aab78..828e17a 100644 --- a/aidl_const_expressions.cpp +++ b/aidl_const_expressions.cpp
@@ -467,6 +467,8 @@ case Type::BINARY: is_valid_ = true; break; + case Type::ERROR: + return false; default: AIDL_FATAL(this) << "Unrecognized constant value type: " << ToString(type_); return false;