diff options
author | Phil Blundell <philb@gnu.org> | 2004-05-17 19:26:16 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-05-17 19:26:16 +0000 |
commit | 4e42d152c93007490becb97a905844c6051e7851 (patch) | |
tree | 6f2f2405efc5bbfc7f5d8217ee9d525dbdac67e5 /bin | |
parent | b21207b16efbeb3f70355fc397888bea31e61e54 (diff) | |
download | bitbake-4e42d152c93007490becb97a905844c6051e7851.tar.gz |
correct line numbers when handling backslash-continuation
Diffstat (limited to 'bin')
-rw-r--r-- | bin/oe/parse/OEHandler.py | 1 |
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) |