* Added comment support (starting with #)
This commit is contained in:
parent
a808f949ab
commit
6033ea1046
|
@ -306,8 +306,11 @@ begin
|
||||||
while not EOF(data) do
|
while not EOF(data) do
|
||||||
begin
|
begin
|
||||||
ReadLn(data, line);
|
ReadLn(data, line);
|
||||||
if commandMode and (line <> '') and not ProcessCommand(line) then
|
if commandMode and (line <> '') and (line[1] <> '#') and
|
||||||
|
not ProcessCommand(line) then
|
||||||
|
begin
|
||||||
commandMode := False;
|
commandMode := False;
|
||||||
|
end;
|
||||||
|
|
||||||
if not commandMode then
|
if not commandMode then
|
||||||
content.Add(line);
|
content.Add(line);
|
||||||
|
|
Loading…
Reference in New Issue