commit | 8c9a4e14c664648b2dbae49031a2f017071cbc9d | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Mon Oct 26 15:39:54 2020 +0900 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Mon Oct 26 23:44:38 2020 +0000 |
tree | 7a20a48268ad68dbe48d91f61d44af60e950c853 | |
parent | 15fd6c6c1eeea72c53277adb9455c1076aca680e [diff] |
fix nested type-arg-list parsing. Just like old C++, Foo<Bar<Baz>> has been failing to compile due to ">>" operator. Luckily, ">>" is valid only in "=" ~~~ ";" (const expression) in AIDL. Introduced "CONST_MODE" as a starting condition for ">>" & "<<" so that when we're parsing type-arg-list, ">>" & "<<" tokens are not considered. Bug: n/a Test: aidl_unittests & aidl_integration_test Change-Id: I969a4ca7a16f6fcd49348d766792c6b40b004c01
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview