commit | 0c9d13b97a1990ee5fea2608150d3d2c1f6b8948 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Mon May 08 16:18:19 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue May 09 03:41:51 2017 +0000 |
tree | c68faeabc2d3268d22e7f836028ff1e7ad721a5c | |
parent | 892af1ec7bb0deb5f40557a0d4838df9dd74a0b6 [diff] |
Minor sksl parser cleanup This adds a new method "checkNext" which is essentially a conditional nextToken(). This allows for some simplification of the parser code, but has no other effect. Bug: skia: Change-Id: I4e08fd5f2c69cbcb4c31fd936b3a65dc50347191 Reviewed-on: https://skia-review.googlesource.com/15881 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ben Wagner <benjaminwagner@google.com>