def include(self):
if len(self.pending) == <NUM_LIT:0> or not self.pending[<NUM_LIT:0>].startswith('<STR_LIT>'):<EOL><INDENT>return<EOL><DEDENT>name = self.pending.pop(<NUM_LIT:0>)[<NUM_LIT:8>:].strip()[<NUM_LIT:1>:-<NUM_LIT:1>]<EOL>for b in [os.path.dirname(self.name)] + self.inc_dirs:<EOL><INDENT>pname = os.path.abspath(os.path.expanduser(os.path.join(b, name)))<EOL>if os.path.isfile(pname):<EOL><INDENT>name = pname<EOL>break<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise Exception('<STR_LIT>'.format(name))<EOL><DEDENT>self.pending = list(FortranReader(name, self.docmark, self.predocmark, <EOL>self.docmark_alt, self.predocmark_alt,<EOL>self.fixed, self.length_limit,<EOL>inc_dirs=self.inc_dirs)) + self.pending<EOL>
If the next line is an include statement, inserts the contents
of the included file into the pending buffer.