Skip to content
Snippets Groups Projects
Commit e144afef authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'master' of ssh://github.com/inducer/loopy

parents 3701b047 8c22e743
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ THE SOFTWARE.
from loopy.diagnostic import LoopyError
def c_preprocess(source, defines=None, file_name="<floopy source>"):
def c_preprocess(source, defines=None, filename="<floopy source>"):
"""
:arg source: a string, possibly containing C preprocessor constructs
:arg defines: a list of strings as they might occur after a
......@@ -47,7 +47,7 @@ def c_preprocess(source, defines=None, file_name="<floopy source>"):
for d in defines:
p.define(d)
p.parse(source, file_name)
p.parse(source, filename)
tokens = []
while True:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment