зеркало из https://github.com/stride3d/freetype.git
docmaker: Don't ignore single-line code blocks.
* src/tools/docmaker/content.py (DocBlock::_init__): Fix change from 2009-01-31.
This commit is contained in:
Родитель
5a80a94b18
Коммит
7bb1005de8
|
@ -1,3 +1,10 @@
|
|||
2009-03-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
docmaker: Don't ignore single-line code blocks.
|
||||
|
||||
* src/tools/docmaker/content.py (DocBlock::_init__): Fix change from
|
||||
2009-01-31.
|
||||
|
||||
2009-03-15 Steve Langasek <steve.langasek@canonical.com>
|
||||
|
||||
Use __asm__ for declaring assembly instead of asm.
|
||||
|
|
|
@ -540,7 +540,7 @@ class DocBlock:
|
|||
while start < end and not string.strip( source[end] ):
|
||||
end = end - 1
|
||||
|
||||
if start == end:
|
||||
if start == end and not string.strip( source[start] ):
|
||||
self.code = []
|
||||
else:
|
||||
self.code = source[start:end + 1]
|
||||
|
|
Загрузка…
Ссылка в новой задаче