On Fri, Sep 4, 2015 at 4:02 PM, Joseph A Borg <jacb...@mac.com> wrote: > maybe the syntax error should point to the line where there are extra > characters after the escape? > >
That would require making the backslash a lexical token in the pf.conf(5) syntax. Now it's just a simple escape character that gets eaten and forgotten by the lexical analyzer that splits the input into tokens to be parsed by the syntax parser. -Kimmo