Fixed newline-related bugs
Fixed comment parsing in procedure definitions