def do_include(self, t):
        """
        Default handling of a #include line.
        """
        t = self.resolve_include(t)
        include_file = self.find_include_file(t)
        if include_file:
            #print("include_file =", include_file)
            self.result.append(include_file)
            contents = self.read_file(include_file)
            new_tuples = [('scons_current_file', include_file)] + \
                         self.tupleize(contents) + \
                         [('scons_current_file', self.current_file)]
            self.tuples[:] = new_tuples + self.tuples
def do_include ( self , t ) : t = self . resolve_include ( t ) include_file = self . find_include_file ( t ) if include_file : self . result . append ( include_file ) contents = self . read_file ( include_file ) new_tuples = [ ( 'scons_current_file' , include_file ) ] + self . tupleize ( contents ) + [ ( 'scons_current_file' , self . current_file ) ] self . tuples [ : ] = new_tuples + self . tuples
Default handling of a #include line.