[augeas-devel] Suffix " $" breaks comments

Free Ekanayaka free at 64studio.com
Fri Sep 5 16:09:25 UTC 2008


Hi,

is it only me or adding a " $" to the end of a comment breaks the
parser?

For example try to apply the patch below and run

augparse lenses/tests/test_inifile.aug

Ciao,

Free

diff -r 5293b6f11f98 lenses/tests/test_inifile.aug
--- a/lenses/tests/test_inifile.aug     Fri Sep 05 12:10:47 2008 +0200
+++ b/lenses/tests/test_inifile.aug     Fri Sep 05 18:08:04 2008 +0200
@@ -14,7 +14,7 @@ module Test_IniFile =
   let title_ace   = IniFile.title IniFile.record_re
   let record_ace  = IniFile.record title_ace entry_ace
   let lns_ace     = IniFile.lns record_ace comment_ace
-  let conf_ace    = "# comment with sharp
+  let conf_ace    = "# comment with sharp $
 
 [section1]
 test_ace = value # end of line comment




More information about the augeas-devel mailing list