(Arne Babenhauserheide)
2013-08-10: fix error line numbers: should start at 1. fix error line numbers: should start at 1.
diff --git a/wisp.py b/wisp.py --- a/wisp.py +++ b/wisp.py @@ -254,7 +254,7 @@ def processlines(lines, prev, codestarti """Process all lines after the first.""" # process further lines: adjust the content of the current line, but only append for n, line in enumerate(lines[codestartindex+1:]): - n += codestartindex + 1 + n += codestartindex + 2 # ignore empty lines and comment-only lines if line.empty: # simply keep empty lines and ignore their indentation