maybe the syntax error should point to the line where there are extra 
characters after the escape?


> On 04 Sep 2015, at 14:53, Peter Hessler <phess...@theapt.org> wrote:
> 
> Backslash says "ignore the following charecter".  You are using it to
> ignore the newline.
> 
> If you ignore the space instead, the newline then matters.
> 
> This is not a bug, this is 100% by design.
> 
> You'll need to ensure there are no trailing spaces after a backslash
> (and we do recommend removing trailing spaces in general, but those are
> not as damaging)
> 
> 
> On 2015 Sep 04 (Fri) at 14:30:05 +0200 (+0200), Joseph A Borg wrote:
> :I have something like this in pf.conf:
> :
> :services                     = "{ 
> :                                                     ssh,                    
>                                         \
> :                                                     http, https, 8000, 
> 8080, 8088,                  \
> :                                                     smtp, pop3, pop3s, 
> imap, imaps,                 \
> :                                                     submission, 465,        
>                                         \
> :                                                     domain, ntp             
>                                         \
> :                                             }"
> :
> :if there???s white space after the back slash the parser barfs by not 
> creating the macro and then raising an error when it???s first used.
> :
> :I would assume this to be an inconvenience for the user as it???s not always 
> possible to check whitespace after the backslash
> :
> :regards
> :
> 
> -- 
> "First things first -- but not necessarily in that order"
>               -- The Doctor, "Doctor Who"

Reply via email to