chiark / gitweb /
cleanup: specify never-interactive option for flex scanner
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 11 Jun 2011 11:11:15 +0000 (12:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 19 Jun 2011 15:38:42 +0000 (16:38 +0100)
commitf0fb73c58ef5315260164b973fcc8c3996046856
tree41b07cb81207daeb0d8702ee21f3c214d52cb201
parent27f5042b0435d26ae98b22f8e42115e44afe53bc
cleanup: specify never-interactive option for flex scanner

We never parse configuration interactively.  That's just as well,
because without "%option never-interactive" flex generates a redundant
declaration of isatty which upsets -Wredundant-decls.

This is a bug in flex IMO but the workaround is fine for secnet.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
conffile.fl