mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-08 01:49:35 +01:00
Split export keywords to new lines.
This commit is contained in:
parent
fcee8a2f39
commit
653dc83e1c
@ -322,6 +322,13 @@ class GDSParser:
|
|||||||
if lfstrip.begins_with("#"):
|
if lfstrip.begins_with("#"):
|
||||||
ret.append(lfstrip)
|
ret.append(lfstrip)
|
||||||
continue
|
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 l.ends_with("\\"):
|
||||||
if !accum:
|
if !accum:
|
||||||
|
Loading…
Reference in New Issue
Block a user