On Thu, Oct 25, 2012 at 8:11 PM, Roberto Polli <rpo...@babel.it> wrote:
> On Thursday 25 October 2012 19:17:03 Balbir Singh wrote:
>> We need the patches to be signed and posted internally along with the
>> email (inline). Could you please do that?
> Please let me know if it's ok.
>
> Peace, R
>
> From 89bc7c0210cb477568bb92eff161a0c9887e3c3a Mon Sep 17 00:00:00 2001
> From: Roberto Polli <robipo...@gmail.com>
> Date: Thu, 25 Oct 2012 16:39:07 +0200
> Subject: [PATCH] [SIGNED-OFF] support indented comments
>
>
> Signed-off-by: Roberto Polli <robipo...@gmail.com>
> ---
>  src/lex.l |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lex.l b/src/lex.l
> index 9ff37ec..82aa212 100644
> --- a/src/lex.l
> +++ b/src/lex.l
> @@ -31,7 +31,7 @@ jmp_buf parser_error_env;
>  %%
>  \n     {line_no++;}
>  [ \t]  {/* DO NOTHING */}
> -^#.*[ \t]*  {/* Comments */}
> +^[ \t]*#.*[ \t]*  {/* Comments */}
>  ^\*.*[ \t]* {/* Comments */}
>  "mount"                {return MOUNT;}
>  "task"         {return TASK;}

Thanks, yes this would work, do you think we should extend it to allow
comments like
               memory.limit_in_bytes = 1000; # Don't exceed 10^6

I think we can accept this for now and then change the grammar to
accept comments at the very end

Balbir

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to