full rewrite of vhdl_reader.parse_vhdl_file()

easier to read and less word[][] things!
big thanks to #rndhro