aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bookmaker
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-06-25 16:30:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-25 20:53:25 +0000
commit81abc43e6f0b1a789e1bf116820c8ede68d778ab (patch)
tree9f2b90781d39851bbb698138e8b8eb1a3b1a16e6 /tools/bookmaker
parent536ad2c146b72eb61f7df47fd88e296f879e6611 (diff)
explicitly include blurimagefilter include
Try explicitly adding to fix the bookmaker nightly bot. R=jcgregorio@google.com,caryclark@google.com Docs-Preview: https://skia.org/?cl=137421 Bug: skia:6898 Change-Id: Iff27845e6872b885b8494e9fc236f4f05c10c301 Reviewed-on: https://skia-review.googlesource.com/137421 Reviewed-by: Cary Clark <caryclark@skia.org> Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Cary Clark <caryclark@skia.org> Commit-Queue: Joe Gregorio <jcgregorio@google.com> Auto-Submit: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tools/bookmaker')
-rw-r--r--tools/bookmaker/bookmaker.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/bookmaker/bookmaker.cpp b/tools/bookmaker/bookmaker.cpp
index 794e2007e8..947c0770e3 100644
--- a/tools/bookmaker/bookmaker.cpp
+++ b/tools/bookmaker/bookmaker.cpp
@@ -1323,6 +1323,7 @@ bool BmhParser::findDefinitions() {
if (!this->skipSpace()) {
return this->reportError<bool>("unexpected end");
}
+ lineStart = '\n' == this->peek();
bool expectEnd = true;
vector<string> typeNameBuilder = this->typeName(markType, &expectEnd);
if (fCloned && MarkType::kMethod != markType && MarkType::kExample != markType
@@ -1448,9 +1449,11 @@ bool BmhParser::findDefinitions() {
}
}
char nextChar = this->next();
- lineStart = nextChar == '\n';
if (' ' < nextChar) {
lastChar = fChar;
+ lineStart = false;
+ } else if (nextChar == '\n') {
+ lineStart = true;
}
}
if (fParent) {