[augeas-devel] [PATCH 1 of 4] Allow comments at the end of lines

Raphael Pinson raphink at gmail.com
Tue Aug 12 16:05:58 UTC 2008


# HG changeset patch
# User Raphael Pinson <raphink at gmail.com>
# Date 1218556628 -7200
# Node ID cdd1bcb87bc77fd55e4ae87ccc49f81947aef333
# Parent  b8b1a2e3bb253bbeb9128b1aa058e7f35f197ef1
Allow comments at the end of lines

diff -r b8b1a2e3bb25 -r cdd1bcb87bc7 lenses/pam.aug
--- a/lenses/pam.aug	Tue Aug 12 17:48:28 2008 +0200
+++ b/lenses/pam.aug	Tue Aug 12 17:57:08 2008 +0200
@@ -30,6 +30,7 @@ module Pam =
                    Util.del_ws_tab .
                    [ label "module" . store word ] .
                    [ Util.del_ws_tab . label "argument" . store argument ]* .
+		 comment? .
                  eol
                ]
   let lns = ( comment | include | record ) *




More information about the augeas-devel mailing list