fixing parser crash when '#' is used in terra code.