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 /test/Scanner/source_scanner-dict.py | |
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 'test/Scanner/source_scanner-dict.py')
-rw-r--r-- | test/Scanner/source_scanner-dict.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Scanner/source_scanner-dict.py b/test/Scanner/source_scanner-dict.py index 1ac15a8..5c0a89f 100644 --- a/test/Scanner/source_scanner-dict.py +++ b/test/Scanner/source_scanner-dict.py @@ -73,17 +73,17 @@ include2_re = re.compile(r'^include2\s+(\S+)$', re.M) include3_re = re.compile(r'^include3\s+(\S+)$', re.M) def k1_scan(node, env, scanpaths, arg=None): - contents = node.get_contents() + contents = node.get_text_contents() includes = include1_re.findall(contents) return includes def k2_scan(node, env, scanpaths, arg=None): - contents = node.get_contents() + contents = node.get_text_contents() includes = include2_re.findall(contents) return includes def k3_scan(node, env, scanpaths, arg=None): - contents = node.get_contents() + contents = node.get_text_contents() includes = include3_re.findall(contents) return includes |