commit | 192f69bbc52bc1886127a5c3e4aa21ae6c41f305 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue Dec 19 15:46:07 2017 -0800 |
committer | Tom Cherry <tomcherry@google.com> | Tue Dec 19 16:47:21 2017 -0800 |
tree | 6b1a9706257d896d83871d227b9f6cf57b23b818 | |
parent | adfcd2e3ff6ef657d5c1560d63a8e1bdf2816876 [diff] |
Only apply match if there is something to apply It is possible for a match to only contain a context and not a schema, or vice versa and in this case, the previously matched values should continue to be used. The serializer already handles this case by setting the index of the match to ~0u if there is not one, so this change simply has the parser skip these values. Bug: 70858511 Test: unit tests, including new ones Change-Id: Ibc65bd8d637e39f3b1ce7bcc2b88189b75173f88