they are menu configuration files actually. in linux ,the configuration file accepts comments :
Code: Select all
# comments here
Code: Select all
PROCEDURE Scan (VAR s: TextMappers.Scanner);
VAR ch: CHAR; pos: INTEGER; opts: SET;
BEGIN
s.Scan;
IF s.type = string THEN
pos := s.rider.Pos() - 1;
IF ~s.rider.eot THEN DEC(pos) END;
s.rider.SetPos(pos); s.rider.ReadChar(ch); s.rider.Read;
IF ch # '"' THEN s.type := keyword END
ELSIF (s.type = char)&(s.char = '#') THEN
opts := s.opts;
s.SetOpts(opts + {TextMappers.returnCtrlChars});
REPEAT s.Scan(); UNTIL (s.type = TextMappers.line) OR (s.type = TextMappers.eot);
s.SetOpts(opts);
Scan(s);
END
END Scan;
Code: Select all
"&Documentation" "" "DevReferences.ShowDocu" "TextCmds.SelectionGuard"
#"De&pendencies" "" "DevDependencies.Deposit;StdCmds.Open" "TextCmds.SelectionGuard"