diff options
author | Steven Knight <knight@baldmt.com> | 2008-12-12 06:16:31 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2008-12-12 06:16:31 (GMT) |
commit | 6554d8631debd788d6bad226d098daee080ca20e (patch) | |
tree | f468f63915d4ba1b0ea3cc2d064d5ce922cfe6e4 /doc/man | |
parent | 8e1e691178fb24207d0e073a8c67bd8810211396 (diff) | |
download | SCons-6554d8631debd788d6bad226d098daee080ca20e.zip SCons-6554d8631debd788d6bad226d098daee080ca20e.tar.gz SCons-6554d8631debd788d6bad226d098daee080ca20e.tar.bz2 |
Issue 2255: Handle scanning of UTF-8 and UTF-16 files. (Greg Spencer)
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/scons.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 300e14c..5526c5e 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -9391,7 +9391,7 @@ source files of different types: .ES def xyz_scan(node, env, path): - contents = node.get_contents() + contents = node.get_text_contents() # Scan the contents and return the included files. XYZScanner = Scanner(xyz_scan) @@ -9663,7 +9663,7 @@ import re include_re = re.compile(r'^include\\s+(\\S+)$', re.M) def kfile_scan(node, env, path, arg): - contents = node.get_contents() + contents = node.get_text_contents() includes = include_re.findall(contents) return includes @@ -9692,7 +9692,7 @@ for files that actually exist: include_re = re.compile(r'^include\\s+(\\S+)$', re.M) def my_scan(node, env, path, arg): - contents = node.get_contents() + contents = node.get_text_contents() includes = include_re.findall(contents) if includes == []: return [] |