From 81abc43e6f0b1a789e1bf116820c8ede68d778ab Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Mon, 25 Jun 2018 16:30:08 -0400 Subject: 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 Reviewed-by: Joe Gregorio Commit-Queue: Cary Clark Commit-Queue: Joe Gregorio Auto-Submit: Cary Clark --- tools/bookmaker/bookmaker.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/bookmaker') 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("unexpected end"); } + lineStart = '\n' == this->peek(); bool expectEnd = true; vector 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) { -- cgit v1.2.3