diff --git a/adoc/chapters/programming_interface.adoc b/adoc/chapters/programming_interface.adoc index f97f72f7..41f84c6c 100644 --- a/adoc/chapters/programming_interface.adoc +++ b/adoc/chapters/programming_interface.adoc @@ -10086,8 +10086,8 @@ allocation must be submitted to a <> that was constructed with the same context that was used to allocate that memory. The explicit memory operation <> that take USM pointers have a similar restriction. -(See <> for details.) Violations of these requirements -result in undefined behavior. +(See <> for details.) +Violations of these requirements result in undefined behavior. [NOTE] ==== diff --git a/adoc/chapters/what_changed.adoc b/adoc/chapters/what_changed.adoc index 798fded4..297fc1a9 100644 --- a/adoc/chapters/what_changed.adoc +++ b/adoc/chapters/what_changed.adoc @@ -154,8 +154,8 @@ The {cpp} attributes that decorate kernels are now better described, and their position has changed so that they are applied directly to the kernel function. (Previously, they were applied to a device function that the kernel calls, and the implementation needed to propagate the information up to the enclosing -kernel.) The old {cpp} attribute form is no longer included in the SYCL -specification. +kernel.) +The old {cpp} attribute form is no longer included in the SYCL specification. Changes to the built-in functions specified in <>: diff --git a/adoc/scripts/reflow.py b/adoc/scripts/reflow.py index 5f3407e0..744cedff 100755 --- a/adoc/scripts/reflow.py +++ b/adoc/scripts/reflow.py @@ -53,7 +53,7 @@ # A single letter followed by a period, typically a middle initial. endInitial = re.compile(r'^[A-Z]\.$') # An abbreviation, which does not (usually) end a line. -endAbbrev = re.compile(r'(e\.g|i\.e|c\.f|\bvs\b|\bco\b|\bltd\b|\bch\b)\.$', re.IGNORECASE) +endAbbrev = re.compile(r'(e\.g|i\.e|c\.f|\bvs\b|\bco\b|\bltd\b|\bch\b|\betc)\.$', re.IGNORECASE) # Explicit Valid Usage list item with one or more leading asterisks # The re.DOTALL is needed to prevent vuPat.search() from stripping @@ -132,7 +132,7 @@ def endSentence(self, word): - A single letter (if breakInitial is True) - Abbreviations: 'c.f.', 'e.g.', 'i.e.' (or mixed-case versions)""" - if (word[-1:] != '.' or + if ((word[-1:] != '.' and word[-2:] != '.)') or endAbbrev.search(word) or (self.breakInitial and endInitial.match(word))): return False