projects
/
scons.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc9e89
)
Add docstring to SCons.Scanner.LaTeX.canonical_text
author
W. Trevor King
<wking@drexel.edu>
Fri, 23 Apr 2010 00:39:48 +0000
(20:39 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 23 Apr 2010 00:39:48 +0000
(20:39 -0400)
src/engine/SCons/Scanner/LaTeX.py
patch
|
blob
|
history
diff --git
a/src/engine/SCons/Scanner/LaTeX.py
b/src/engine/SCons/Scanner/LaTeX.py
index f43b19cf4360a86a10139d74e7a7a87b20ba0b1a..6969d2be21848da5db0c254f49db73bbe5ae151f 100644
(file)
--- a/
src/engine/SCons/Scanner/LaTeX.py
+++ b/
src/engine/SCons/Scanner/LaTeX.py
@@
-281,6
+281,11
@@
class LaTeX(SCons.Scanner.Base):
return i, include
def canonical_text(self, text):
+ """Standardize an input TeX-file contents.
+
+ Currently:
+ * removes comments, unwrapping comment-wrapped lines.
+ """
out = []
line_continues_a_comment = False
for line in text.splitlines():