Browse Source

+ Comments and empty lines are now ignored

michael 26 years ago
parent
commit
d4760d5963
1 changed files with 6 additions and 1 deletions
  1. 6 1
      utils/rstconv.pp

+ 6 - 1
utils/rstconv.pp

@@ -60,6 +60,8 @@ begin
 
 
   while not eof(f) do begin
   while not eof(f) do begin
     ReadLn(f, s);
     ReadLn(f, s);
+    If (Length(S)=0) or (S[1]='#') then 
+      continue;
     item := TConstItem(ConstItems.Add);
     item := TConstItem(ConstItems.Add);
 
 
     DotPos := Pos('.', s);
     DotPos := Pos('.', s);
@@ -203,7 +205,10 @@ end.
 
 
 {
 {
   $Log$
   $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
   + Added rstconv
 
 
 }
 }