Tools: add error keyword on param parse for newcomers

This commit is contained in:
Pierre Kancir 2020-04-01 16:07:41 +02:00 committed by Peter Barker
parent f450df18b0
commit 5d299eb584
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def error(str_to_print):
global error_count global error_count
error_count += 1 error_count += 1
if current_file is not None: if current_file is not None:
print("In %s" % current_file) print("Error in %s" % current_file)
if current_param is not None: if current_param is not None:
print("At param %s" % current_param) print("At param %s" % current_param)
print(str_to_print) print(str_to_print)