Skip to content

Blank/Comment lines at the beginning are considered "unsafe" #20418

Created by: wwrzal

GDScriptTokenizerText::_advance when detecting new line would first increment line number, parse leading spaces and tabs in new line and only then whould create new line token with incorrect data. I've added code to save correct line and column and pass it to _make_newline. This seems to fix #20418.

Merge request reports

Loading