Index: third_party/scons/scons-local/SCons/Scanner/Fortran.py |
=================================================================== |
--- third_party/scons/scons-local/SCons/Scanner/Fortran.py (revision 9094) |
+++ third_party/scons/scons-local/SCons/Scanner/Fortran.py (working copy) |
@@ -5,7 +5,7 @@ |
""" |
# |
-# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation |
+# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The SCons Foundation |
# |
# Permission is hereby granted, free of charge, to any person obtaining |
# a copy of this software and associated documentation files (the |
@@ -27,7 +27,7 @@ |
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
# |
-__revision__ = "src/engine/SCons/Scanner/Fortran.py 3842 2008/12/20 22:59:52 scons" |
+__revision__ = "src/engine/SCons/Scanner/Fortran.py 3897 2009/01/13 06:45:54 scons" |
import re |
import string |
@@ -84,11 +84,11 @@ |
mods_and_includes = node.includes |
else: |
# retrieve all included filenames |
- includes = self.cre_incl.findall(node.get_contents()) |
+ includes = self.cre_incl.findall(node.get_text_contents()) |
# retrieve all USE'd module names |
- modules = self.cre_use.findall(node.get_contents()) |
+ modules = self.cre_use.findall(node.get_text_contents()) |
# retrieve all defined module names |
- defmodules = self.cre_def.findall(node.get_contents()) |
+ defmodules = self.cre_def.findall(node.get_text_contents()) |
# Remove all USE'd module names that are defined in the same file |
d = {} |