|
|
@@ -22,13 +22,13 @@ class Parser(ParserTemplate):
|
|
|
if status==1:
|
|
|
self.output.foreground = 'red'
|
|
|
output_text = ""
|
|
|
- index = 1
|
|
|
+ index = 0
|
|
|
for line in self.input.text.splitlines():
|
|
|
output_text = output_text + line + '\n'
|
|
|
- index+= 1
|
|
|
if index == lineno:
|
|
|
output_text = output_text + ' '*colno + '^' '\n'
|
|
|
- output_text = output_text + ' '*colno + 'MESSAGE: ' + msg + '\n'
|
|
|
+ output_text = output_text + ' '*colno + 'HERE: ' + msg + ' ----------------------------------------\n'
|
|
|
+ index+= 1
|
|
|
|
|
|
self.output.text = output_text
|
|
|
|
|
|
@@ -48,7 +48,7 @@ class Parser(ParserTemplate):
|
|
|
index+= 1
|
|
|
if index == lineno:
|
|
|
output_text = output_text + ' '*colno + '^' '\n'
|
|
|
- output_text = output_text + ' '*colno + 'MESSAGE: ' + msg + '\n'
|
|
|
+ output_text = output_text + ' '*colno + 'HERE: ' + msg + ' ----------------------------------------\n'
|
|
|
|
|
|
self.output.text = output_text
|
|
|
|