Split export keywords to new lines.

This commit is contained in:
Relintai 2022-06-03 15:07:39 +02:00
parent fcee8a2f39
commit 653dc83e1c

View File

@ -322,6 +322,13 @@ class GDSParser:
if lfstrip.begins_with("#"):
ret.append(lfstrip)
continue
if lfstrip.begins_with("export"):
var indx = lfstrip.find("var")
var expstr : String = lfstrip.substr(0, indx)
ret.append("#" + expstr)
l = l.replace(expstr, "")
if l.ends_with("\\"):
if !accum: