commit | f5ed661f729079b4231f9ea1d836b4eb474c5629 | [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 | e1d9e7c343ac4577450b96d4de19da6f099eb154 [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