summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-05-17 19:26:16 +0000
committerPhil Blundell <philb@gnu.org>2004-05-17 19:26:16 +0000
commit4e42d152c93007490becb97a905844c6051e7851 (patch)
tree6f2f2405efc5bbfc7f5d8217ee9d525dbdac67e5 /bin
parentb21207b16efbeb3f70355fc397888bea31e61e54 (diff)
downloadbitbake-4e42d152c93007490becb97a905844c6051e7851.tar.gz
correct line numbers when handling backslash-continuation
Diffstat (limited to 'bin')
-rw-r--r--bin/oe/parse/OEHandler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/oe/parse/OEHandler.py b/bin/oe/parse/OEHandler.py
index 76635e808..4877990ae 100644
--- a/bin/oe/parse/OEHandler.py
+++ b/bin/oe/parse/OEHandler.py
@@ -110,6 +110,7 @@ def handle(fn, d = {}, include = 0):
if not w: continue # skip empty lines
s = s.rstrip()
while s[-1] == '\\':
+ lineno = lineno + 1
s2 = f.readline()[:-1].strip()
s = s[:-1] + s2
feeder(lineno, s, fn, d)