aboutsummaryrefslogtreecommitdiff
path: root/pycparser
diff options
context:
space:
mode:
Diffstat (limited to 'pycparser')
-rw-r--r--pycparser/c_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pycparser/c_parser.py b/pycparser/c_parser.py
index d02e577..53f445a 100644
--- a/pycparser/c_parser.py
+++ b/pycparser/c_parser.py
@@ -1703,7 +1703,7 @@ class CParser(PLYParser):
self._coord(lineno=p.lineno,
column=self.clex.find_tok_column(p)))
else:
- self._parse_error('At end of input', '')
+ self._parse_error('At end of input', self.clex.filename)
#------------------------------------------------------------------------------