diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-12-09 01:21:48 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-12-09 10:12:21 +0000 |
commit | 8da3f3c38e075498a24fb9db80ae9862bda7154d (patch) | |
tree | 5bc7d58a9951a7e50925c7d5cd9a5b035c8df997 /conf | |
parent | 4a4dd12c9ba83343374c9e1184c94426c9803527 (diff) | |
download | pam-8da3f3c38e075498a24fb9db80ae9862bda7154d.tar.gz pam-8da3f3c38e075498a24fb9db80ae9862bda7154d.tar.bz2 pam-8da3f3c38e075498a24fb9db80ae9862bda7154d.zip |
Do not use yywrap (ticket #42)
Our scanners do not really use yywrap. Explicitly disable yywrap
so that no references to yywrap will be generated and no LEXLIB
would be needed.
* conf/pam_conv1/Makefile.am (pam_conv1_LDADD): Remove.
* conf/pam_conv1/pam_conv_l.l: Enable noyywrap option.
* doc/specs/Makefile.am (padout_LDADD): Remove.
* doc/specs/parse_l.l: Enable noyywrap option.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/pam_conv1/Makefile.am | 2 | ||||
-rw-r--r-- | conf/pam_conv1/pam_conv_l.l | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/conf/pam_conv1/Makefile.am b/conf/pam_conv1/Makefile.am index b9e6153f..ce50b686 100644 --- a/conf/pam_conv1/Makefile.am +++ b/conf/pam_conv1/Makefile.am @@ -13,5 +13,3 @@ BUILT_SOURCES = pam_conv_y.h noinst_PROGRAMS = pam_conv1 pam_conv1_SOURCES = pam_conv_l.l pam_conv_y.y - -pam_conv1_LDADD = @LEXLIB@ diff --git a/conf/pam_conv1/pam_conv_l.l b/conf/pam_conv1/pam_conv_l.l index 25b67108..f563eeed 100644 --- a/conf/pam_conv1/pam_conv_l.l +++ b/conf/pam_conv1/pam_conv_l.l @@ -24,6 +24,7 @@ extern int current_line; %} +%option noyywrap %% "#"[^\n]* ; /* skip comments (sorry) */ |