From ca19642a101dfdd723f87c299773ad3f50d67b07 Mon Sep 17 00:00:00 2001 From: Francois Deppierraz Date: Fri, 6 Mar 2009 16:49:59 +0100 Subject: [PATCH] oops, this one was commited too early --- files/haproxy.aug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/haproxy.aug b/files/haproxy.aug index 73c43ca..5ea62b0 100644 --- a/files/haproxy.aug +++ b/files/haproxy.aug @@ -36,9 +36,9 @@ let words = /[^# \t\n]+([ \t]+[^# \t\n]+)*/ let option_re = ( /option[ \t]+/ . word ) | ( word - /option/ ) -let optio = key opt_re . ( spc . store words ) ? +let option = key option_re . ( spc . store words ) ? -let param = [ indent . opt . (eol|comment) ] +let line = [ indent . option . (eol|comment) ] (* @@ -46,7 +46,7 @@ let param = [ indent . opt . (eol|comment) ] *) -let item = ( param | comment | empty ) +let item = ( line | comment | empty ) let section = [ key word . ( spc . store words ) ? . eol . item * ]