瀏覽代碼

+ Comments and empty lines are now ignored

michael 26 年之前
父節點
當前提交
d4760d5963
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      utils/rstconv.pp

+ 6 - 1
utils/rstconv.pp

@@ -60,6 +60,8 @@ begin
 
   while not eof(f) do begin
     ReadLn(f, s);
+    If (Length(S)=0) or (S[1]='#') then 
+      continue;
     item := TConstItem(ConstItems.Add);
 
     DotPos := Pos('.', s);
@@ -203,7 +205,10 @@ end.
 
 {
   $Log$
-  Revision 1.1  1999-07-23 18:23:45  michael
+  Revision 1.2  1999-07-24 16:22:38  michael
+  + Comments and empty lines are now ignored
+
+  Revision 1.1  1999/07/23 18:23:45  michael
   + Added rstconv
 
 }