Also handle setget.

This commit is contained in:
Relintai 2022-06-03 17:10:10 +02:00
parent 4322dcbbcb
commit caf1fb1a39

View File

@ -392,6 +392,12 @@ class GDSParser:
ret.append("#" + expstr) ret.append("#" + expstr)
l = l.replace(expstr, "") l = l.replace(expstr, "")
var setget_indx = lfstrip.find(" setget ")
if setget_indx != -1:
var setget_str : String = lfstrip.substr(setget_indx)
ret.append("#" + setget_str)
l = l.replace(setget_str, "")
if l.ends_with("\\"): if l.ends_with("\\"):
if !accum: if !accum: