Simplify implementation in bcread removing duplicate code

Avoid replicating some common code in Printer abd BCList object.
Fix missing or wrong line number information in parser and ast
First typo in bcread
Fix missing local assignment in bcread
Fix commit 5f180b5e
Fix problems related to debug information

Fix the bulk of the problems about line number information but also about
variables' scope information.