Commit 9b973f30 authored by Robert Bradshaw's avatar Robert Bradshaw

Allow <include_file> as well as "include_file"

parent 5b2f63ca
...@@ -616,7 +616,10 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -616,7 +616,10 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
includes = [] includes = []
for filename in env.include_files: for filename in env.include_files:
# fake decoding of filenames to their original byte sequence # fake decoding of filenames to their original byte sequence
code.putln('#include "%s"' % filename) if filename[0] == '<' and filename[-1] == '>':
code.putln('#include %s' % filename)
else:
code.putln('#include "%s"' % filename)
def generate_filename_table(self, code): def generate_filename_table(self, code):
code.putln("") code.putln("")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment